test: disable restartWithDifferentInterval for all platforms (#6745)
This commit is contained in:
parent
e1c9fbde60
commit
0ee64695ca
|
@ -177,12 +177,8 @@ TEST_F(TimerTest, repeatingHonorsInterval)
|
||||||
EXPECT_EQ(DesiredLoops, n_calls);
|
EXPECT_EQ(DesiredLoops, n_calls);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
// TODO: flaky test should be fixed instead of disabled
|
// TODO: flaky test should be fixed instead of disabled
|
||||||
TEST_F(TimerTest, DISABLED_restartWithDifferentInterval)
|
TEST_F(TimerTest, DISABLED_restartWithDifferentInterval)
|
||||||
#else
|
|
||||||
TEST_F(TimerTest, restartWithDifferentInterval)
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
auto timer_maker = EvTimerMaker{ evbase_.get() };
|
auto timer_maker = EvTimerMaker{ evbase_.get() };
|
||||||
auto timer = timer_maker.create();
|
auto timer = timer_maker.create();
|
||||||
|
@ -211,12 +207,8 @@ TEST_F(TimerTest, restartWithDifferentInterval)
|
||||||
test(200ms);
|
test(200ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
// TODO: flaky test should be fixed instead of disabled
|
// TODO: flaky test should be fixed instead of disabled
|
||||||
TEST_F(TimerTest, DISABLED_restartWithSameInterval)
|
TEST_F(TimerTest, DISABLED_restartWithSameInterval)
|
||||||
#else
|
|
||||||
TEST_F(TimerTest, restartWithSameInterval)
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
auto timer_maker = EvTimerMaker{ evbase_.get() };
|
auto timer_maker = EvTimerMaker{ evbase_.get() };
|
||||||
auto timer = timer_maker.create();
|
auto timer = timer_maker.create();
|
||||||
|
|
Loading…
Reference in New Issue