mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148)
_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.
This commit is contained in:
parent
c94caca65c
commit
8f6eeaf21c
1 changed files with 2 additions and 1 deletions
|
@ -799,7 +799,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))
|
||||
|
||||
#
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue