[storm] Can't get the disconnection tests to run
Jason Baker
jbaker at zeomega.com
Mon Nov 9 15:14:26 GMT 2009
Hey guys,
I've been trying to split out a branch that contains the oracle backend
that's up-to-date from trunk. For whatever reason, I can't get the
disconnection tests to work. I've been running the tests two ways:
1. Using an Oracle TNS name (which looks up the hostname/port in a file).
In other words, a URI like this:
oracle://username:password@tns_name?tns=True
2. Specifying the port, hostname, and service identifier in the URI. The
URI looks like this:
oracle://username:password@hostname:port/SID
Using both methods, I can get both the database tests and store tests to
work. However, I can't get the disconnection tests to pass.
If I use #1, then the test just fails; a DisconnectError doesn't get raised.
It doesn't even appear that is_disconnect_error is ever getting called. If
I use #2, the test just hangs. After doing some debugging, I've determined
that it is getting hung up at this line of code in the proxy:
rlist, wlist, xlist = select.select(readers, [], [], TIMEOUT)
...which is strange because as far as I know, this shouldn't block.
It makes sense that #1 would fail as the proxy server likely doesn't have
anything to connect to. However, I can't figure out why it's getting hung
up. Any ideas as far as where to begin? Could something be configured
incorrectly? Does this sound like a non-storm issue (in other words, an
Oracle issue)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20091109/151d670b/attachment.htm
More information about the storm
mailing list