mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
Issue #7857: Another attempt to keep the buildbots happy.
This commit is contained in:
parent
e1ec841086
commit
9a164ac800
1 changed files with 3 additions and 1 deletions
|
@ -1574,6 +1574,7 @@ class ConfigDictTest(BaseTest):
|
||||||
t = logging.config.listen(port)
|
t = logging.config.listen(port)
|
||||||
t.start()
|
t.start()
|
||||||
t.ready.wait()
|
t.ready.wait()
|
||||||
|
t.ready.clear()
|
||||||
try:
|
try:
|
||||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
sock.settimeout(2.0)
|
sock.settimeout(2.0)
|
||||||
|
@ -1589,10 +1590,11 @@ class ConfigDictTest(BaseTest):
|
||||||
left -= sent
|
left -= sent
|
||||||
sock.close()
|
sock.close()
|
||||||
finally:
|
finally:
|
||||||
|
t.ready.wait(2.0)
|
||||||
logging.config.stopListening()
|
logging.config.stopListening()
|
||||||
t.join(2.0)
|
t.join(2.0)
|
||||||
|
|
||||||
@unittest.skip("See issue #7857")
|
#@unittest.skip("See issue #7857")
|
||||||
def test_listen_config_10_ok(self):
|
def test_listen_config_10_ok(self):
|
||||||
with captured_stdout() as output:
|
with captured_stdout() as output:
|
||||||
self.setup_via_listener(json.dumps(self.config10))
|
self.setup_via_listener(json.dumps(self.config10))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue