From: Sage Weil Date: Fri, 25 Apr 2014 22:49:06 +0000 (-0700) Subject: ceph_test_rados_api_tier: increase HitSetTrim timeouts X-Git-Tag: v0.80~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d0f1806d57646ec24e844af368c46285ab9a59f8;p=ceph.git ceph_test_rados_api_tier: increase HitSetTrim timeouts ...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 --- diff --git a/src/test/librados/tier.cc b/src/test/librados/tier.cc index 28e8e7aaa4e9..ad956be2cc3b 100644 --- a/src/test/librados/tier.cc +++ b/src/test/librados/tier.cc @@ -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;