The test contains a race and checks that it's detected.
But the race may not be detected since we are doing aggressive flushes
and if the state flush happens between racing accesses, tsan won't
detect the race). So return 1 to make the test deterministic
regardless of the race.
Details
Details
- Reviewers
vitalybuka melver - Commits
- rG7de546e9e8b6: tsan: deflake flush_memory.cpp
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
40 ms | x64 debian > LLVM.Bindings/Go::go.test |