gh-117657: Add test_thread_local_bytecode to TSAN tests (gh-129753)

Skip `test_no_copies_if_tlbc_disabled` when run under TSAN for now
due to a data race on the adaptive counter (see gh-129752).
This commit is contained in:
Sam Gross 2025-02-11 16:54:32 -05:00 committed by GitHub
parent f151d27159
commit 1a8082a4bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
'test_ssl',
'test_syslog',
'test_thread',
'test_thread_local_bytecode',
'test_threadedtempfile',
'test_threading',
'test_threading_local',

View File

@ -109,6 +109,7 @@ def f(a, b, q=None):
""")
assert_python_ok("-X", "tlbc=1", "-c", code)
@support.skip_if_sanitizer("gh-129752: data race on adaptive counter", thread=True)
def test_no_copies_if_tlbc_disabled(self):
code = textwrap.dedent("""
import queue