Skip to content

Commit 28d95dc

Browse files
committed
gh-139116: Skip test_tracemalloc_track_race under ASAN
1 parent b2f5ad0 commit 28d95dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_tracemalloc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,9 @@ def test_stop_untrack(self):
11151115
@threading_helper.requires_working_threading()
11161116
# gh-128679: Test crash on a debug build (especially on FreeBSD).
11171117
@unittest.skipIf(support.Py_DEBUG, 'need release build')
1118-
@support.skip_if_sanitizer('gh-131566: race when setting allocator', thread=True)
1118+
@support.skip_if_sanitizer(
1119+
'gh-131566, gh-139116: race when setting allocator/tracer',
1120+
thread=True, address=True)
11191121
def test_tracemalloc_track_race(self):
11201122
# gh-128679: Test fix for tracemalloc.stop() race condition
11211123
_testcapi.tracemalloc_track_race()

0 commit comments

Comments
 (0)