mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
test: increase timer interval in TimerTest.repeatingThenSingleShot (#4173)
These 25ms timers are not repeatable enough on the CI boxes
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user