Skip to content

test_asyncio.test_waitfor: test_wait_for() failed with "AssertionError: 0.547 not less than 0.5" on GHA Windows x64 #109833

Description

@vstinner

GHA Windows x64:

FAIL: test_wait_for (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\a\cpython\cpython\Lib\unittest\async_case.py", line 90, in _callTestMethod
if self._callMaybeAsync(method) is not None:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\cpython\cpython\Lib\unittest\async_case.py", line 112, in _callMaybeAsync
return self._asyncioRunner.run(
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\cpython\cpython\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\cpython\cpython\Lib\asyncio\base_events.py", line 664, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\a\cpython\cpython\Lib\test\test_asyncio\test_waitfor.py", line 147, in test_wait_for
self.assertLess(t1 - t0, 0.5)
AssertionError: 0.5470000000000255 not less than 0.5

build: https://github.com/python/cpython/actions/runs/6299237551/job/17099620804?pr=109828

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions