asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.

This commit is contained in:
Guido van Rossum 2013-11-15 07:41:10 -08:00
parent 4e553e2e52
commit 39ecf2ed13
1 changed files with 2 additions and 1 deletions

View File

@ -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)