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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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());