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

Lib/test/test_multiprocessing.py

index ca20396616c85c9a0ff2e153bc551a096e4280cc..768119c4c87ff6bfb6930f08d58edc0530b58bd0 100644 (file)
@@ -1170,7 +1170,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)