Commit 7d6320ba authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-30339: test_multiprocessing_main_handling timeout (#1593)

test_multiprocessing_main_handling: increase the test_source timeout
from 10 seconds to 60 seconds, since the test fails randomly on busy
buildbots.
parent 79ef7f8e
......@@ -58,7 +58,7 @@ if __name__ == '__main__':
p = Pool(5)
results = []
p.map_async(f, [1, 2, 3], callback=results.extend)
deadline = time.time() + 10 # up to 10 s to report the results
deadline = time.time() + 60 # up to 60 s to report the results
while not results:
time.sleep(0.05)
if time.time() > deadline:
......
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