Skip to content

Commit 1a31df9

Browse files
colesburycmaloney
authored andcommitted
pythongh-117657: Include all of test_free_threading in TSAN tests (python#129749)
1 parent 8df34e9 commit 1a31df9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Lib/test/libregrtest/tsan.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
'test_threading_local',
2626
'test_threadsignals',
2727
'test_weakref',
28-
'test_free_threading.test_slots',
28+
'test_free_threading',
2929
]
3030

3131
# Tests that should be run with `--parallel-threads=N` under TSAN. These tests

Tools/tsan/suppressions_free_threading.txt

+6
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,11 @@ race_top:PyThreadState_Clear
4343
# Only seen on macOS, sample: https://gist.github.com/aisk/dda53f5d494a4556c35dde1fce03259c
4444
race_top:set_default_allocator_unlocked
4545

46+
# gh-129068: race on shared range iterators (test_free_threading.test_zip.ZipThreading.test_threading)
47+
race_top:rangeiter_next
48+
49+
# gh-129748: test.test_free_threading.test_slots.TestSlots.test_object
50+
race_top:mi_block_set_nextx
51+
4652
# https://gist.github.com/mpage/6962e8870606cfc960e159b407a0cb40
4753
thread:pthread_create

0 commit comments

Comments
 (0)