Skip to content

Commit

Permalink
bpo-30339: test_multiprocessing_main_handling timeout (#1593)
Browse files Browse the repository at this point in the history
test_multiprocessing_main_handling: increase the test_source timeout
from 10 seconds to 60 seconds, since the test fails randomly on busy
buildbots.
  • Loading branch information
vstinner committed May 15, 2017
1 parent 79ef7f8 commit 7d6320b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_multiprocessing_main_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def f(x):
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:
Expand Down

0 comments on commit 7d6320b

Please sign in to comment.