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

Skip to content

Commit e3010fd

Browse files
committed
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
1 parent 85ba92a commit e3010fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_asyncio/test_windows_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_wait_for_handle(self):
109109
self.loop.run_until_complete(f)
110110
elapsed = self.loop.time() - start
111111
self.assertFalse(f.result())
112-
self.assertTrue(0.18 < elapsed < 0.22, elapsed)
112+
self.assertTrue(0.18 < elapsed < 0.5, elapsed)
113113

114114
_overlapped.SetEvent(event)
115115

0 commit comments

Comments
 (0)