mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-131566: Skip test_tracemalloc_track_race
under TSAN (gh-131567)
The test has data race when setting the global "raw" memory allocator.
This commit is contained in:
parent
9962469943
commit
18249d9383
1 changed files with 1 additions and 0 deletions
|
@ -1114,6 +1114,7 @@ class TestCAPI(unittest.TestCase):
|
|||
@threading_helper.requires_working_threading()
|
||||
# gh-128679: Test crash on a debug build (especially on FreeBSD).
|
||||
@unittest.skipIf(support.Py_DEBUG, 'need release build')
|
||||
@support.skip_if_sanitizer('gh-131566: race when setting allocator', thread=True)
|
||||
def test_tracemalloc_track_race(self):
|
||||
# gh-128679: Test fix for tracemalloc.stop() race condition
|
||||
_testcapi.tracemalloc_track_race()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue