summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-15 16:14:42 (GMT)
committerGitHub <noreply@github.com>2017-05-15 16:14:42 (GMT)
commit7d6320ba47a229543acc0af6a64bc4e414932273 (patch)
treeaa64fe36569198e6df34b28bf30b9afed451698d /Lib
parent79ef7f8e88a4972c4aecf95cfc5cd934f1861e08 (diff)
downloadcpython-7d6320ba47a229543acc0af6a64bc4e414932273.zip
cpython-7d6320ba47a229543acc0af6a64bc4e414932273.tar.gz
cpython-7d6320ba47a229543acc0af6a64bc4e414932273.tar.bz2
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_multiprocessing_main_handling.py2
1 files changed, 1 insertions, 1 deletions
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: