mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-29 10:00:25 +00:00
chore: Enable TSAN without ignoring errors (#2828)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user