The test flaked on bots:
http://green.lab.llvm.org/green/job/lldb-cmake/38666/
The test expects that tsan will detect a single race
with concurrent memory accesses. TSan doesn't do this reliably.
Run 100 iterations of the racing threads, which should
make the race much more likely to be detected.
Details
Details
- Reviewers
vitalybuka melver - Commits
- rGa114f151930d: [lldb] Deflake TestTsanBasic.py
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Would using __tsan_testonly_barrier be appropriate here? If it's not meant to use any tricks to achieve the race then I guess retrying a bunch of times is fine.