]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-124878: reenable `test_finalize_daemon_thread_hang` test under TSAN (#135793)
authorKumar Aditya <kumaraditya@python.org>
Mon, 23 Jun 2025 16:08:57 +0000 (21:38 +0530)
committerGitHub <noreply@github.com>
Mon, 23 Jun 2025 16:08:57 +0000 (21:38 +0530)
Lib/test/test_threading.py

index 125c27446986c0abbf5274ce2e58c9f5a79f3f47..13b55d0f0a2e73f10d73b02788a2df7023e4ba61 100644 (file)
@@ -1284,12 +1284,6 @@ class ThreadTests(BaseTestCase):
 
     @cpython_only
     def test_finalize_daemon_thread_hang(self):
-        if support.check_sanitizer(thread=True, memory=True):
-            # the thread running `time.sleep(100)` below will still be alive
-            # at process exit
-            self.skipTest(
-                    "https://github.com/python/cpython/issues/124878 - Known"
-                    " race condition that TSAN identifies.")
         # gh-87135: tests that daemon threads hang during finalization
         script = textwrap.dedent('''
             import os