Commit cce0bb0a authored by Maged Michael's avatar Maged Michael Committed by Facebook Github Bot

Disable ParkinkLot.WaitableMutexTest under TSAN

Summary: Disable ParkinkLot.WaitableMutexTest under TSAN for now. It currently fails under TSAN due to the possibility of a mutex being unlocked by a different thread.

Reviewed By: djwatson

Differential Revision: D10446986

fbshipit-source-id: 21ec53e27fffd566956f4e8ef1d3084765138b75
parent 2bc39ca1
...@@ -104,6 +104,9 @@ class WaitableMutex : public std::mutex { ...@@ -104,6 +104,9 @@ class WaitableMutex : public std::mutex {
WaitableMutex::Lot WaitableMutex::lot; WaitableMutex::Lot WaitableMutex::lot;
TEST(ParkingLot, WaitableMutexTest) { TEST(ParkingLot, WaitableMutexTest) {
if (kIsSanitizeThread) {
return;
}
std::atomic<bool> go{false}; std::atomic<bool> go{false};
WaitableMutex mu; WaitableMutex mu;
std::thread t([&]() { std::thread t([&]() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment