gh-129824: Temporarily skip InterpreterPoolMixin tests under TSAN (gh-129826)

There are multiple data races reported when running the
InterpreterPoolMixin tests, but it's still useful to run the other
test_concurrent_futures tests under TSAN.

Add test_concurrent_futures to the TSAN test suite.
This commit is contained in:
Sam Gross 2025-02-25 10:33:04 -05:00 committed by GitHub
parent f39a07be47
commit 3774d9f7b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ TSAN_TESTS = [
'test_capi.test_mem',
'test_capi.test_pyatomic',
'test_code',
'test_concurrent_futures',
'test_enum',
'test_functools',
'test_httpservers',

View file

@ -74,6 +74,7 @@ class ThreadPoolMixin(ExecutorMixin):
executor_type = futures.ThreadPoolExecutor
@support.skip_if_sanitizer("gh-129824: data races in InterpreterPool tests", thread=True)
class InterpreterPoolMixin(ExecutorMixin):
executor_type = futures.InterpreterPoolExecutor