Skip to content

Commit 50c9b60

Browse files
Apply suggestion from @facontidavide
1 parent 8f3f1a4 commit 50c9b60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/gtest_decorator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ TEST(Decorator, DelayWithXML)
259259
// The child (AlwaysSuccess) should have been executed after the delay
260260
ASSERT_EQ(status, NodeStatus::SUCCESS);
261261
// Verify that at least ~200ms have passed (with small tolerance for timing jitter)
262-
ASSERT_GE(elapsed.count(), 180);
262+
ASSERT_GE(elapsed.count(), 80);
263263
// Ensure the test didn't take too long (sanity check)
264-
ASSERT_LE(elapsed.count(), 500);
264+
ASSERT_LE(elapsed.count(), 200);
265265
}

0 commit comments

Comments
 (0)