bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Jun 2017 21:48:47 +0000 (23:48 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2017 21:48:47 +0000 (23:48 +0200)
_test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a
timeout of 1 second on Queue.get(), instead of 0.1 second, for slow
buildbots.

Lib/test/_test_multiprocessing.py

index d49e9c68c84bc7c3364959f28c0d119f457afb70..7148ea494891776f92761adcc19f9d9cce2f8642 100644 (file)
@@ -799,7 +799,8 @@ class _TestQueue(BaseTestCase):
             q = self.Queue()
             q.put(NotSerializable())
             q.put(True)
-            self.assertTrue(q.get(timeout=0.1))
+            # bpo-30595: use a timeout of 1 second for slow buildbots
+            self.assertTrue(q.get(timeout=1.0))
 
 #
 #