Commit d9e153d2 authored by Barry Warsaw's avatar Barry Warsaw

test_zeo_config(): Pick a large port number that is more likely to not

exist (no guarantees though, oh well).
parent b6335a38
...@@ -81,11 +81,15 @@ class ZODBConfigTest(ConfigTestBase): ...@@ -81,11 +81,15 @@ class ZODBConfigTest(ConfigTestBase):
self.assertRaises(ReadOnlyError, self._test, cfg) self.assertRaises(ReadOnlyError, self._test, cfg)
def test_zeo_config(self): def test_zeo_config(self):
#self.fail("This test hangs on Debian Linux 2.4.20 i686 unknown") # We're looking for a port that doesn't exist so a connection attempt
# will fail. Instead of elaborate logic to loop over a port
# calculation, we'll just pick a simple "random", likely to not-exist
# port number and add an elaborate comment explaining this instead.
# Go ahead, grep for 9.
cfg = """ cfg = """
<zodb> <zodb>
<zeoclient> <zeoclient>
server localhost:9 server localhost:56897
wait false wait false
</zeoclient> </zeoclient>
</zodb> </zodb>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment