Commit 56d2381
[Fix] Skip intentional race tests under ThreadSanitizer
Tests that intentionally trigger data races to document unsafe patterns
(ConcurrentEdgeAdditions, MixedReadWriteOperations) are now skipped
when running under TSAN since TSAN will detect the races and abort.
The RUNNING_UNDER_TSAN macro detects both GCC/Clang TSAN instrumentation.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 49e5c18 commit 56d2381
1 file changed
+27
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
| |||
232 | 245 | | |
233 | 246 | | |
234 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
235 | 254 | | |
236 | | - | |
| 255 | + | |
237 | 256 | | |
238 | 257 | | |
239 | 258 | | |
| |||
276 | 295 | | |
277 | 296 | | |
278 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
279 | 304 | | |
280 | | - | |
| 305 | + | |
281 | 306 | | |
282 | 307 | | |
283 | 308 | | |
| |||
0 commit comments