Skip to content

Commit c13a4d6

Browse files
bpo-38212: Increase MP test_queue_feeder_donot_stop_onexc() timeout (GH-16348)
Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds. (cherry picked from commit 99799c7) Co-authored-by: Victor Stinner <[email protected]>
1 parent 912b5a9 commit c13a4d6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Lib/test/_test_multiprocessing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,7 @@ def __reduce__(self):
10571057
q = self.Queue()
10581058
q.put(NotSerializable())
10591059
q.put(True)
1060-
# bpo-30595: use a timeout of 1 second for slow buildbots
1061-
self.assertTrue(q.get(timeout=1.0))
1060+
self.assertTrue(q.get(timeout=TIMEOUT))
10621061
close_queue(q)
10631062

10641063
with test.support.captured_stderr():
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout
2+
from 1 to 60 seconds.

0 commit comments

Comments
 (0)