From cd69643c1883ca87d766a4a9eb594e29cc97edff Mon Sep 17 00:00:00 2001 From: Rongqi Sun Date: Wed, 26 Jun 2024 03:01:33 +0000 Subject: [PATCH] test/admin_socket: increase slack fixes: https://tracker.ceph.com/issues/66638 Signed-off-by: Rongqi Sun --- src/test/admin_socket.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/admin_socket.cc b/src/test/admin_socket.cc index a16a0cbb1f15a..69a3cbefd0ee1 100644 --- a/src/test/admin_socket.cc +++ b/src/test/admin_socket.cc @@ -547,8 +547,8 @@ TEST_F(AdminSocketRaise, StopCont) ASSERT_EQ("", send_raise("CONT", 0.2)); ASSERT_EQ("", send_raise("STOP")); auto elapsed = system_clock::now() - then; - // give it a 1% slack - EXPECT_LE(milliseconds(198), duration_cast(elapsed)); + // give it a 5% slack + EXPECT_LE(milliseconds(190), duration_cast(elapsed)); } /* -- 2.39.5