Skip to content

Commit b60f43a

Browse files
authored
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 8f6eeaf)
1 parent f5a7935 commit b60f43a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_multiprocessing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,8 @@ def __reduce__(self):
671671
q = self.Queue()
672672
q.put(NotSerializable())
673673
q.put(True)
674-
self.assertTrue(q.get(timeout=0.1))
674+
# bpo-30595: use a timeout of 1 second for slow buildbots
675+
self.assertTrue(q.get(timeout=1.0))
675676

676677

677678
#

0 commit comments

Comments
 (0)