From: Victor Stinner Date: Mon, 29 Jan 2018 15:54:29 +0000 (+0100) Subject: bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (GH-2148) (GH-5429) X-Git-Tag: v2.7.15rc1~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b60f43a0e6052b29517931eea591b0b29903f382;p=python bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (GH-2148) (GH-5429) _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. (cherry picked from commit 8f6eeaf21cdf4aea25fdefeec814a1ce07453fe9) --- diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index a77bfee671..1071d7fac6 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -671,7 +671,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)) #