test: disable restartWithDifferentInterval for all platforms (#6745)

This commit is contained in:
Cœur 2024-04-01 03:07:12 +08:00 committed by GitHub
parent e1c9fbde60
commit 0ee64695ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 8 deletions

View File

@ -177,12 +177,8 @@ TEST_F(TimerTest, repeatingHonorsInterval)
EXPECT_EQ(DesiredLoops, n_calls);
}
#ifdef _WIN32
// TODO: flaky test should be fixed instead of disabled
TEST_F(TimerTest, DISABLED_restartWithDifferentInterval)
#else
TEST_F(TimerTest, restartWithDifferentInterval)
#endif
{
auto timer_maker = EvTimerMaker{ evbase_.get() };
auto timer = timer_maker.create();
@ -211,12 +207,8 @@ TEST_F(TimerTest, restartWithDifferentInterval)
test(200ms);
}
#ifdef _WIN32
// TODO: flaky test should be fixed instead of disabled
TEST_F(TimerTest, DISABLED_restartWithSameInterval)
#else
TEST_F(TimerTest, restartWithSameInterval)
#endif
{
auto timer_maker = EvTimerMaker{ evbase_.get() };
auto timer = timer_maker.create();