diff --git a/Lib/test/libregrtest/tsan.py b/Lib/test/libregrtest/tsan.py index 1b32deec12bd75..90c9f0db0af2bf 100644 --- a/Lib/test/libregrtest/tsan.py +++ b/Lib/test/libregrtest/tsan.py @@ -25,7 +25,7 @@ 'test_threading_local', 'test_threadsignals', 'test_weakref', - 'test_free_threading.test_slots', + 'test_free_threading', ] # Tests that should be run with `--parallel-threads=N` under TSAN. These tests diff --git a/Tools/tsan/suppressions_free_threading.txt b/Tools/tsan/suppressions_free_threading.txt index e5eb665ae212de..f37200ad2a58c0 100644 --- a/Tools/tsan/suppressions_free_threading.txt +++ b/Tools/tsan/suppressions_free_threading.txt @@ -44,5 +44,11 @@ race_top:PyThreadState_Clear # Only seen on macOS, sample: https://gist.github.com/aisk/dda53f5d494a4556c35dde1fce03259c race_top:set_default_allocator_unlocked +# gh-129068: race on shared range iterators (test_free_threading.test_zip.ZipThreading.test_threading) +race_top:rangeiter_next + +# gh-129748: test.test_free_threading.test_slots.TestSlots.test_object +race_top:mi_block_set_nextx + # https://gist.github.com/mpage/6962e8870606cfc960e159b407a0cb40 thread:pthread_create