Mercurial > cpython-lru_cache-weakref
changeset 69179:2e4cdaffe493 2.7
Issue #11766: increase countdown waiting for a pool of processes to start
up. Hopefully fixes transient buildbot failures.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Wed, 06 Apr 2011 22:54:14 +0200 |
| parents | da212fa62fea |
| children | bd0f73a9538e |
| files | Lib/test/test_multiprocessing.py |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Lib/test/test_multiprocessing.py Wed Apr 06 14:41:42 2011 +0800 +++ b/Lib/test/test_multiprocessing.py Wed Apr 06 22:54:14 2011 +0200 @@ -1126,7 +1126,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)
