[Python-checkins] cpython: Relax timing on test_asyncio for busy (slow) Windows buildbots

victor.stinner python-checkins at python.org
Mon Nov 18 11:06:06 CET 2013


http://hg.python.org/cpython/rev/df3d792b2468
changeset:   87243:df3d792b2468
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Nov 18 11:05:22 2013 +0100
summary:
  Relax timing on test_asyncio for busy (slow) Windows buildbots

http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1649/steps/test/logs/stdio

======================================================================
FAIL: test_wait_for_handle (test.test_asyncio.test_windows_events.ProactorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\test_asyncio\test_windows_events.py", line 112, in test_wait_for_handle
    self.assertTrue(0.18 < elapsed < 0.22, elapsed)
AssertionError: False is not true : 0.25

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


diff --git a/Lib/test/test_asyncio/test_windows_events.py b/Lib/test/test_asyncio/test_windows_events.py
--- a/Lib/test/test_asyncio/test_windows_events.py
+++ b/Lib/test/test_asyncio/test_windows_events.py
@@ -109,7 +109,7 @@
         self.loop.run_until_complete(f)
         elapsed = self.loop.time() - start
         self.assertFalse(f.result())
-        self.assertTrue(0.18 < elapsed < 0.22, elapsed)
+        self.assertTrue(0.18 < elapsed < 0.5, elapsed)
 
         _overlapped.SetEvent(event)
 

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


More information about the Python-checkins mailing list