-
- Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dir
Description
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
- gh-109974: Fix threading lock_tests race conditions #110057
- [3.11] gh-109974: Fix threading lock_tests race conditions (GH-110057) #110063
- gh-109974: Fix more threading lock_tests race conditions #110089
- [3.12] gh-109974: Fix threading lock_tests race conditions (GH-110057) #110344
- [3.12] gh-109974: Fix threading lock_tests race conditions (#110057) #110346
- [3.11][3.12] gh-109974: Fix threading lock_tests race conditions (#110057) … #110355
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dir