8000 gh-117657: Skip test when running under TSan by colesbury · Pull Request #121549 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-117657: Skip test when running under TSan #121549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-117657: Skip test when running under TSan
The ProcessPoolForkserver combined with resource_tracker starts a thread
after forking, which is not supported by TSan.
  • Loading branch information
colesbury committed Jul 9, 2024
commit 38a54ae45a6f22cc70ef06d310708ae2d9b03868
1 change: 1 addition & 0 deletions Lib/test/test_concurrent_futures/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def _test(self, test_class):
def test_spawn(self):
self._test(ProcessPoolSpawnFailingInitializerTest)

@support.skip_if_sanitizer("TSAN doesn't support threads after fork", thread=True)
def test_forkserver(self):
self._test(ProcessPoolForkserverFailingInitializerTest)

Expand Down
Loading
0