diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2018-01-29 15:54:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 15:54:29 (GMT) |
commit | b60f43a0e6052b29517931eea591b0b29903f382 (patch) | |
tree | 601f98c74541814c823f02a707f44bc80a471474 | |
parent | f5a793522d539afc84ac7888c9ad189097c43a75 (diff) | |
download | cpython-b60f43a0e6052b29517931eea591b0b29903f382.zip cpython-b60f43a0e6052b29517931eea591b0b29903f382.tar.gz cpython-b60f43a0e6052b29517931eea591b0b29903f382.tar.bz2 |
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)
-rw-r--r-- | Lib/test/test_multiprocessing.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index a77bfee..1071d7f 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)) # |