[Python-checkins] cpython (merge 3.2 -> default): Issue #11766: increase countdown waiting for a pool of processes to start

antoine.pitrou python-checkins at python.org
Wed Apr 6 22:54:57 CEST 2011


http://hg.python.org/cpython/rev/3eac8302a448
changeset: 69178:3eac8302a448
parent: 69176:3f00611c3daf
parent: 69177:c4a514199dba
user: Antoine Pitrou <solipsis at pitrou.net>
date: Wed Apr 06 22:54:14 2011 +0200
summary:
 Issue #11766: increase countdown waiting for a pool of processes to start
up. Hopefully fixes transient buildbot failures.
files:
 Lib/test/test_multiprocessing.py | 3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -1182,7 +1182,8 @@
 # Refill the pool
 p._repopulate_pool()
 # Wait until all workers are alive
- countdown = 5
+ # (countdown * DELTA = 5 seconds max startup process time)
+ countdown = 50
 while countdown and not all(w.is_alive() for w in p._pool):
 countdown -= 1
 time.sleep(DELTA)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /