Kaydet (Commit) efbcb189 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #11766: increase countdown waiting for a pool of processes to start

up.  Hopefully fixes transient buildbot failures.
......@@ -1182,7 +1182,8 @@ class _TestPoolWorkerLifetime(BaseTestCase):
# 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment