Skip to content

Commit 7d6320b

Browse files
authored
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.
1 parent 79ef7f8 commit 7d6320b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_multiprocessing_main_handling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def f(x):
5858
p = Pool(5)
5959
results = []
6060
p.map_async(f, [1, 2, 3], callback=results.extend)
61-
deadline = time.time() + 10 # up to 10 s to report the results
61+
deadline = time.time() + 60 # up to 60 s to report the results
6262
while not results:
6363
time.sleep(0.05)
6464
if time.time() > deadline:

0 commit comments

Comments
 (0)