From: Nick Coghlan Date: Mon, 23 Dec 2013 08:17:20 +0000 (+1000) Subject: Further increase tolerance for slow buildbots X-Git-Tag: v3.4.0b2~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23f597e4622af79cc14f0040ec61e9fd7a68f862;p=thirdparty%2FPython%2Fcpython.git Further increase tolerance for slow buildbots --- diff --git a/Lib/test/test_multiprocessing_main_handling.py b/Lib/test/test_multiprocessing_main_handling.py index aa85a4d1e0f7..7ea8e7806c72 100644 --- a/Lib/test/test_multiprocessing_main_handling.py +++ b/Lib/test/test_multiprocessing_main_handling.py @@ -53,7 +53,7 @@ if __name__ == '__main__': p = Pool(5) results = [] p.map_async(f, [1, 2, 3], callback=results.extend) - deadline = time.time() + 5 # up to 5 s to report the results + deadline = time.time() + 10 # up to 10 s to report the results while not results: time.sleep(0.05) if time.time() > deadline: @@ -81,7 +81,7 @@ set_start_method(start_method) p = Pool(5) results = [] p.map_async(int, [1, 4, 9], callback=results.extend) -deadline = time.time() + 5 # up to 5 s to report the results +deadline = time.time() + 10 # up to 10 s to report the results while not results: time.sleep(0.05) if time.time() > deadline: