diff --git a/test/cli/CallAfterTimeoutTest.cpp b/test/cli/CallAfterTimeoutTest.cpp index 32f1ec48..1fa564e0 100644 --- a/test/cli/CallAfterTimeoutTest.cpp +++ b/test/cli/CallAfterTimeoutTest.cpp @@ -49,12 +49,12 @@ TEST_F(CallAfterTimeoutTest, DoesntCallTwice) { } TEST_F(CallAfterTimeoutTest, OneReset) { - auto obj = callAfterTimeout(milliseconds(100)); - sleep_for(milliseconds(75)); + auto obj = callAfterTimeout(milliseconds(200)); + sleep_for(milliseconds(125)); obj->resetTimer(); - sleep_for(milliseconds(75)); + sleep_for(milliseconds(125)); EXPECT_FALSE(called); - sleep_for(milliseconds(75)); + sleep_for(milliseconds(125)); EXPECT_TRUE(called); }