From d0f1806d57646ec24e844af368c46285ab9a59f8 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 25 Apr 2014 15:49:06 -0700 Subject: [PATCH] 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 --- src/test/librados/tier.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/librados/tier.cc b/src/test/librados/tier.cc index 28e8e7aaa4e91..ad956be2cc3b0 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; -- 2.39.5