From 83c9d568d9140b43368a6361c6599034f6548b64 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 6 Dec 2019 14:44:21 -0500 Subject: [PATCH] test/rgw: raise timer durations for unittest_rgw_reshard_wait Fixes: https://tracker.ceph.com/issues/40585 Signed-off-by: Casey Bodley --- src/test/rgw/test_rgw_reshard_wait.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/rgw/test_rgw_reshard_wait.cc b/src/test/rgw/test_rgw_reshard_wait.cc index e63f066d08a3..788b15c859f6 100644 --- a/src/test/rgw/test_rgw_reshard_wait.cc +++ b/src/test/rgw/test_rgw_reshard_wait.cc @@ -60,7 +60,7 @@ TEST(ReshardWait, stop_block) #ifdef HAVE_BOOST_CONTEXT TEST(ReshardWait, wait_yield) { - constexpr ceph::timespan wait_duration = 10ms; + constexpr ceph::timespan wait_duration = 50ms; RGWReshardWait waiter(wait_duration); boost::asio::io_context context; @@ -82,7 +82,7 @@ TEST(ReshardWait, wait_yield) TEST(ReshardWait, stop_yield) { - constexpr ceph::timespan short_duration = 10ms; + constexpr ceph::timespan short_duration = 50ms; constexpr ceph::timespan long_duration = 10s; RGWReshardWait long_waiter(long_duration); @@ -113,7 +113,7 @@ TEST(ReshardWait, stop_yield) TEST(ReshardWait, stop_multiple) { - constexpr ceph::timespan short_duration = 10ms; + constexpr ceph::timespan short_duration = 50ms; constexpr ceph::timespan long_duration = 10s; RGWReshardWait long_waiter(long_duration); -- 2.47.3