mirror of
https://github.com/python/cpython.git
synced 2025-09-01 06:28:36 +00:00
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.
This commit is contained in:
parent
ef04851775
commit
99799c7220
2 changed files with 3 additions and 2 deletions
|
@ -1128,8 +1128,7 @@ class _TestQueue(BaseTestCase):
|
||||||
q = self.Queue()
|
q = self.Queue()
|
||||||
q.put(NotSerializable())
|
q.put(NotSerializable())
|
||||||
q.put(True)
|
q.put(True)
|
||||||
# bpo-30595: use a timeout of 1 second for slow buildbots
|
self.assertTrue(q.get(timeout=TIMEOUT))
|
||||||
self.assertTrue(q.get(timeout=1.0))
|
|
||||||
close_queue(q)
|
close_queue(q)
|
||||||
|
|
||||||
with test.support.captured_stderr():
|
with test.support.captured_stderr():
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout
|
||||||
|
from 1 to 60 seconds.
|
Loading…
Add table
Add a link
Reference in a new issue