From 7d6320ba47a229543acc0af6a64bc4e414932273 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 15 May 2017 18:14:42 +0200 Subject: 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. --- Lib/test/test_multiprocessing_main_handling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_multiprocessing_main_handling.py b/Lib/test/test_multiprocessing_main_handling.py index 32593da..a9c5d69 100644 --- a/Lib/test/test_multiprocessing_main_handling.py +++ b/Lib/test/test_multiprocessing_main_handling.py @@ -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: -- cgit v0.12