Commit 7f22443d authored by Vinay Sajip's avatar Vinay Sajip

Issue #7857: Gave server thread more time to get ready, and re-enabled a skipped test.

parent 42d5947e
......@@ -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))
......
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