From c5f766bb16c0ab3c3554e73791ad0b74077ad35c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 25 Jul 2014 13:51:45 -0700 Subject: [PATCH] ceph_test_rados_api_tier: do fewer writes in HitSetWrite We don't need to do quite so many writes. It can be slow when we are thrashing and aren't doing anything in parallel. Fixes: #8932 Signed-off-by: Sage Weil --- src/test/librados/tier.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/librados/tier.cc b/src/test/librados/tier.cc index 611e17e897b78..c740961e1debf 100644 --- a/src/test/librados/tier.cc +++ b/src/test/librados/tier.cc @@ -2047,8 +2047,10 @@ TEST_F(LibRadosTierPP, HitSetWrite) { ioctx.set_namespace(""); + int num = 200; + // do a bunch of writes - for (int i=0; i<1000; ++i) { + for (int i=0; i