Skip to content

Commit 3774d9f

Browse files
authored
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.
1 parent f39a07b commit 3774d9f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Lib/test/libregrtest/tsan.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
'test_capi.test_mem',
77
'test_capi.test_pyatomic',
88
'test_code',
9+
'test_concurrent_futures',
910
'test_enum',
1011
'test_functools',
1112
'test_httpservers',

Lib/test/test_concurrent_futures/util.py

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class ThreadPoolMixin(ExecutorMixin):
7474
executor_type = futures.ThreadPoolExecutor
7575

7676

77+
@support.skip_if_sanitizer("gh-129824: data races in InterpreterPool tests", thread=True)
7778
class InterpreterPoolMixin(ExecutorMixin):
7879
executor_type = futures.InterpreterPoolExecutor
7980

0 commit comments

Comments
 (0)