]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-129824: Temporarily skip InterpreterPoolMixin tests under TSAN (gh-129826)
authorSam Gross <colesbury@gmail.com>
Tue, 25 Feb 2025 15:33:04 +0000 (10:33 -0500)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2025 15:33:04 +0000 (10:33 -0500)
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.

Lib/test/libregrtest/tsan.py
Lib/test/test_concurrent_futures/util.py

index 2a656705d7b50889683d953d266db96337810ab2..37d2983837fb7880a574f5c69290145079d547ad 100644 (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',
index 52baab51340fc9fecf7e23aabde9c4c0e9229029..44086217f9dbcb8698d437e22ae4002af7ba9e07 100644 (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