diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2013-12-23 08:17:20 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2013-12-23 08:17:20 (GMT) |
commit | 23f597e4622af79cc14f0040ec61e9fd7a68f862 (patch) | |
tree | 252600e52dd6022961cce2cf466884d3eb757c5c /Lib | |
parent | 0a68dacb0da5f91977ee51dd589e8dae04f2ecaf (diff) | |
download | cpython-23f597e4622af79cc14f0040ec61e9fd7a68f862.zip cpython-23f597e4622af79cc14f0040ec61e9fd7a68f862.tar.gz cpython-23f597e4622af79cc14f0040ec61e9fd7a68f862.tar.bz2 |
Further increase tolerance for slow buildbots
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_multiprocessing_main_handling.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_multiprocessing_main_handling.py b/Lib/test/test_multiprocessing_main_handling.py index aa85a4d..7ea8e78 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: |