mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.
This commit is contained in:
parent
4e553e2e52
commit
39ecf2ed13
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue