mirror of https://github.com/python/cpython
asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.
This commit is contained in:
parent
4e553e2e52
commit
39ecf2ed13
|
@ -119,7 +119,8 @@ class PopenTests(unittest.TestCase):
|
|||
overr.ReadFile(p.stderr.handle, 100)
|
||||
|
||||
events = [ovin.event, ovout.event, overr.event]
|
||||
res = _winapi.WaitForMultipleObjects(events, True, 2000)
|
||||
# Super-long timeout for slow buildbots.
|
||||
res = _winapi.WaitForMultipleObjects(events, True, 10000)
|
||||
self.assertEqual(res, _winapi.WAIT_OBJECT_0)
|
||||
self.assertFalse(ovout.pending)
|
||||
self.assertFalse(overr.pending)
|
||||
|
|
Loading…
Reference in New Issue