Skip to content

Commit 91cb358

Browse files
committed
more investigation, to discard
1 parent 7362970 commit 91cb358

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/auto/foundation/core_application/tst_core_application.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ TEST_CASE("Timer handling" * doctest::timeout(120))
244244
Timer timer;
245245

246246
// Set initial interval to 100ms
247-
timer.interval = 100ms;
247+
timer.interval = 1000ms;
248248
timer.running = true;
249249

250250
bool fired = false;
@@ -254,19 +254,19 @@ TEST_CASE("Timer handling" * doctest::timeout(120))
254254
});
255255

256256
// After 50ms, timer shouldn't have yet fired
257-
app.processEvents(50);
257+
app.processEvents(500);
258258
REQUIRE(fired == false);
259259

260260
// Reset interval, it should fire 150ms from now
261-
timer.interval = 150ms;
261+
timer.interval = 1500ms;
262262

263263
// Advance 100ms, it should _not_ yet fire because it was
264264
// restarted to 150ms even though the original timeout passed
265-
app.processEvents(100);
265+
app.processEvents(1000);
266266
REQUIRE(fired == false);
267267

268268
// It should fire after additional 100ms
269-
app.processEvents(100);
269+
app.processEvents(1000);
270270
REQUIRE(fired == true);
271271
}
272272
}

0 commit comments

Comments
 (0)