[Python-checkins] cpython: asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.

guido.van.rossum python-checkins at python.org
Fri Nov 15 16:41:14 CET 2013


http://hg.python.org/cpython/rev/d48ec67b3b0e
changeset:   87112:d48ec67b3b0e
user:        Guido van Rossum <guido at dropbox.com>
date:        Fri Nov 15 07:41:10 2013 -0800
summary:
  asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.

files:
  Lib/test/test_asyncio/test_windows_utils.py |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_asyncio/test_windows_utils.py b/Lib/test/test_asyncio/test_windows_utils.py
--- a/Lib/test/test_asyncio/test_windows_utils.py
+++ b/Lib/test/test_asyncio/test_windows_utils.py
@@ -119,7 +119,8 @@
         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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list