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.80.6~103^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=978f5749f3d08bb4c96529ca2d1b10760ee2606d;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 (cherry picked from commit c5f766bb16c0ab3c3554e73791ad0b74077ad35c) --- diff --git a/src/test/librados/tier.cc b/src/test/librados/tier.cc index 897eef9e294ca..953a765c0082d 100644 --- a/src/test/librados/tier.cc +++ b/src/test/librados/tier.cc @@ -2066,8 +2066,10 @@ TEST_F(LibRadosTwoPoolsPP, HitSetWrite) { cache_ioctx.set_namespace(""); + int num = 200; + // do a bunch of writes - for (int i=0; i<1000; ++i) { + for (int i=0; i