This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients Mark.Shannon, jcea, lukasz.langa, miss-islington, pablogsal
Date 2021-07-17.10:17:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626517033.58.0.80171728387.issue44645@roundup.psfhosted.org>
In-reply-to
Content
Can we at least include the fix, until we can come up with a better test?

That test fails on 3.9 as well as 3.10 and main.

With a 3.9 build and the test in #27194:

./python -m test test_threading -R :
0:00:00 load avg: 0.95 Run tests sequentially
0:00:00 load avg: 0.95 [1/1] test_threading
beginning 9 repetitions
123456789
...test test_threading failed -- Traceback (most recent call last):
  File "/home/mark/repos/cpython/Lib/test/test_threading.py", line 1479, in test_can_interrupt_tight_loops
    self.assertNotEqual(iterations, 0)
AssertionError: 0 == 0



I don't know what the underlying issue is.

Can you observe a failure without the -R flag?
History
Date User Action Args
2021-07-17 10:17:13Mark.Shannonsetrecipients: + Mark.Shannon, jcea, lukasz.langa, pablogsal, miss-islington
2021-07-17 10:17:13Mark.Shannonsetmessageid: <1626517033.58.0.80171728387.issue44645@roundup.psfhosted.org>
2021-07-17 10:17:13Mark.Shannonlinkissue44645 messages
2021-07-17 10:17:13Mark.Shannoncreate