chore: Enable TSAN without ignoring errors (#2828)

This commit is contained in:
Alex Kremer
2026-01-30 19:14:36 +00:00
committed by GitHub
parent cf77a10555
commit 9fd15eb08b
8 changed files with 27 additions and 87 deletions

View File

@@ -209,7 +209,7 @@ TYPED_TEST(ExecutionContextTests, repeatingOperation)
{
auto const repeatDelay = std::chrono::milliseconds{1};
auto const timeout = std::chrono::milliseconds{15};
auto callCount = 0uz;
std::atomic_size_t callCount = 0uz;
auto res = this->ctx.executeRepeatedly(repeatDelay, [&] { ++callCount; });
auto timeSpent = util::timed([timeout] { std::this_thread::sleep_for(timeout); }); // calculate actual time spent