test: increase timer interval in TimerTest.repeatingThenSingleShot (#4173)

These 25ms timers are not repeatable enough on the CI boxes
This commit is contained in:
Charles Kerr
2022-11-14 18:04:15 -06:00
committed by GitHub
parent 6bec2f22c8
commit 5cb9e8c146

View File

@@ -259,7 +259,7 @@ TEST_F(TimerTest, repeatingThenSingleShot)
// now restart it as a single shot
auto const baseline = n_calls;
begin_time = currentTime();
static auto constexpr SingleShotInterval = 25ms;
static auto constexpr SingleShotInterval = 80ms;
timer->startSingleShot(SingleShotInterval);
EXPECT_EQ(SingleShotInterval, timer->interval());
EXPECT_FALSE(timer->isRepeating());