Skip to content

Commit

Permalink
gh-117657: Include all of test_free_threading in TSAN tests (#129749)
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury authored Feb 6, 2025
1 parent b184abf commit a191d6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/libregrtest/tsan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions Tools/tsan/suppressions_free_threading.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,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

0 comments on commit a191d6f

Please sign in to comment.