Skip to content

Commit 18249d9

Browse files
authored
gh-131566: Skip test_tracemalloc_track_race under TSAN (gh-131567)
The test has data race when setting the global "raw" memory allocator.
1 parent 9962469 commit 18249d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_tracemalloc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,7 @@ def test_stop_untrack(self):
11141114
@threading_helper.requires_working_threading()
11151115
# gh-128679: Test crash on a debug build (especially on FreeBSD).
11161116
@unittest.skipIf(support.Py_DEBUG, 'need release build')
1117+
@support.skip_if_sanitizer('gh-131566: race when setting allocator', thread=True)
11171118
def test_tracemalloc_track_race(self):
11181119
# gh-128679: Test fix for tracemalloc.stop() race condition
11191120
_testcapi.tracemalloc_track_race()

0 commit comments

Comments
 (0)