Skip to content

test_threading: test_set_and_clear() failed on Windows x64 #109974

@vstinner

Description

@vstinner

Windows x64:

FAIL: test_set_and_clear (test.test_threading.EventTests.test_set_and_clear) ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\a\cpython\cpython\Lib\test\lock_tests.py", line 481, in test_set_and_clear self.assertEqual(results, [True] * N) AssertionError: Lists differ: [False, True, True, True, True] != [True, True, True, True, True] First differing element 0: False True - [False, True, True, True, True] ? ------- + [True, True, True, True, True] ? ++++++ 

The test passed when re-run:

0:19:31 load avg: 9.73 Run 2 tests in parallel using 2 worker processes (timeout: 10 min, worker timeout: 15 min) 0:19:33 load avg: 9.53 [1/2] test_threading passed Re-running test_threading in verbose mode (matching: test_set_and_clear) test_set_and_clear (test.test_threading.EventTests.test_set_and_clear) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.766s OK 

build: https://github.com/python/cpython/actions/runs/6323487736/job/17171157457?pr=109922

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions