Skip to content

test_shutdown_default_executor_timeout asyncio test is flaky #130736

@colesbury

Description

@colesbury

Bug report

Seen in https://github.com/python/cpython/actions/runs/13606907022/job/38039459160?pr=130732

FAIL: test_shutdown_default_executor_timeout (test.test_asyncio.test_base_events.BaseEventLoopTests.test_shutdown_default_executor_timeout)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\test\test_asyncio\test_base_events.py", line 246, in test_shutdown_default_executor_timeout
    with self.assertWarnsRegex(RuntimeWarning,
         ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
                               "The executor did not finishing joining"):
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: RuntimeWarning not triggered

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions