]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #11766: increase countdown waiting for a pool of processes to start
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 6 Apr 2011 20:54:14 +0000 (22:54 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 6 Apr 2011 20:54:14 +0000 (22:54 +0200)
up.  Hopefully fixes transient buildbot failures.

Lib/test/test_multiprocessing.py

index 0df2f7803bbeaa94f7491d54dde8468361a56909..fe19de037152cad683fddc3f9a93479658c31925 100644 (file)
@@ -1126,7 +1126,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)