Kaydet (Commit) adbfcb83 authored tarafından Charles-François Natali's avatar Charles-François Natali

test_asyncore: wait explicitly for a thread termination (this dangling thread

could be the cause of a random failure).
......@@ -789,7 +789,7 @@ class BaseTestAPI:
t = threading.Thread(target=lambda: asyncore.loop(timeout=0.1,
count=500))
t.start()
self.addCleanup(t.join)
s = socket.socket(self.family, socket.SOCK_STREAM)
s.settimeout(.2)
......
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