From: Sage Weil Date: Fri, 25 Jul 2014 20:51:45 +0000 (-0700) Subject: ceph_test_rados_api_tier: do fewer writes in HitSetWrite X-Git-Tag: v0.83~3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2146%2Fhead;p=ceph.git 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 --- diff --git a/src/test/librados/tier.cc b/src/test/librados/tier.cc index 611e17e897b7..c740961e1deb 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