[Testing] Fix flaky threading test

This commit is contained in:
Herman S.
2025-11-22 00:38:21 +09:00
parent b953707c08
commit d21c0d7047
+1 -1
View File
@@ -822,7 +822,7 @@ TEST_CASE("Wait on Timer", "[timer]") {
MaybeYield();
Sleep(10ms); // Skip a few events
for (int i = 0; i < 10; ++i) {
result = Wait(timer.get(), false, 20ms);
result = Wait(timer.get(), false, 50ms);
REQUIRE(result == WaitResult::kSuccess);
}
// Cancel it