Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39ecf2e

Browse files
author
Guido van Rossum
committed
asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.
1 parent 4e553e2 commit 39ecf2e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_asyncio/test_windows_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ def test_popen(self):
119119
overr.ReadFile(p.stderr.handle, 100)
120120

121121
events = [ovin.event, ovout.event, overr.event]
122-
res = _winapi.WaitForMultipleObjects(events, True, 2000)
122+
# Super-long timeout for slow buildbots.
123+
res = _winapi.WaitForMultipleObjects(events, True, 10000)
123124
self.assertEqual(res, _winapi.WAIT_OBJECT_0)
124125
self.assertFalse(ovout.pending)
125126
self.assertFalse(overr.pending)

0 commit comments

Comments
 (0)