]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_rados_api_tier: increase HitSetTrim timeouts 1727/head
authorSage Weil <sage@inktank.com>
Fri, 25 Apr 2014 22:49:06 +0000 (15:49 -0700)
committerSage Weil <sage@inktank.com>
Fri, 25 Apr 2014 22:49:06 +0000 (15:49 -0700)
...so that they pass when they get unlucky with thrashing.

This will vastly decrease the probability of failure, but failure will
always be possible when a timeout is in place.

Fixes: #8193
Signed-off-by: Sage Weil <sage@inktank.com>
src/test/librados/tier.cc

index 28e8e7aaa4e91df6578a6973e4e13aa2c8517bd6..ad956be2cc3b05c7451d13201ef52ef97441457d 100644 (file)
@@ -2123,7 +2123,7 @@ TEST_F(LibRadosTierPP, HitSetTrim) {
 
   // do a bunch of writes and make sure the hitsets rotate
   utime_t start = ceph_clock_now(NULL);
-  utime_t hard_stop = start + utime_t(count * period * 12, 0);
+  utime_t hard_stop = start + utime_t(count * period * 50, 0);
 
   time_t first = 0;
   while (true) {
@@ -4088,7 +4088,7 @@ TEST_F(LibRadosTierECPP, HitSetTrim) {
 
   // do a bunch of writes and make sure the hitsets rotate
   utime_t start = ceph_clock_now(NULL);
-  utime_t hard_stop = start + utime_t(count * period * 12, 0);
+  utime_t hard_stop = start + utime_t(count * period * 50, 0);
 
   time_t first = 0;
   int bsize = alignment;