summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-02-06 20:28:36 +0000
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-02-06 20:28:36 +0000
commiteff0721cc091afe4c534b51c228bb1d6b850a49e (patch)
treecc80621d5fe4ecdd414a37a3d5308ea1bf54b326 /Lib/test
parent4de9230e2a2c78d2b0c06935978ba74b2984f4e8 (diff)
downloadcpython-eff0721cc091afe4c534b51c228bb1d6b850a49e.tar.gz
Issue #7857: Gave server thread more time to get ready, and re-enabled a skipped test.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_logging.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 511d3c4da9..092bd41d7e 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -1577,6 +1577,7 @@ class ConfigDictTest(BaseTest):
port = find_unused_port()
t = logging.config.listen(port)
t.start()
+ time.sleep(0.5) # give server thread some time to get ready
try:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.settimeout(2.0)
@@ -1615,7 +1616,7 @@ class ConfigDictTest(BaseTest):
('ERROR', '4'),
], stream=output)
- @unittest.skip("See issue #7857")
+ #@unittest.skip("See issue #7857")
def test_listen_config_1_ok(self):
with captured_stdout() as output:
self.setup_via_listener(textwrap.dedent(ConfigFileTest.config1))