]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw: raise timer durations for unittest_rgw_reshard_wait 32094/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 6 Dec 2019 19:44:21 +0000 (14:44 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 6 Dec 2019 19:44:23 +0000 (14:44 -0500)
Fixes: https://tracker.ceph.com/issues/40585
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/rgw/test_rgw_reshard_wait.cc

index e63f066d08a302aff94daaae79770a1e6239be7c..788b15c859f622180ce029f4d85ec22824b65f22 100644 (file)
@@ -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);