Skip to content

Commit 0a66e63

Browse files
committed
bug core: disable SingleUseEventWaitAny.SendCancelRace under TSAN
Disable a test that hangs under TSAN sometimes. Seems that it is similar to SingleUseEvent.SendCancelRace already disabled in <https://nda.ya.ru/t/G7GkreHZ7PrGyD>. commit_hash:d0a32beddc8939900c983ae3889096bb622d8dc2
1 parent 1597079 commit 0a66e63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/engine/single_use_event_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ UTEST_P_MT(SingleUseEventWaitAny, WaitSendRace, 2) {
262262
}
263263
}
264264

265+
#if !USERVER_IMPL_HAS_TSAN
265266
UTEST_P_MT(SingleUseEventWaitAny, SendCancelRace, 3) {
266267
const auto event_to_notify = GetParam();
267268
const auto test_deadline = engine::Deadline::FromDuration(50ms);
@@ -297,5 +298,6 @@ UTEST_P_MT(SingleUseEventWaitAny, SendCancelRace, 3) {
297298
}
298299
}
299300
}
301+
#endif
300302

301303
USERVER_NAMESPACE_END

0 commit comments

Comments
 (0)