]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_test_rados_api_tier: make PromoteOn2ndRead tolerate thrashing 5667/head
authorSage Weil <sage@redhat.com>
Tue, 25 Aug 2015 22:20:29 +0000 (18:20 -0400)
committerSage Weil <sage@redhat.com>
Tue, 25 Aug 2015 22:20:29 +0000 (18:20 -0400)
commit347ac0f80f1362f4c06fb8695d8fd9f40bbf89d9
tree24c41f29e11804e592681025b301f8ef4f4165a8
parent5d58dd2ec77890d15836822744b669d5b46d18f6
ceph_test_rados_api_tier: make PromoteOn2ndRead tolerate thrashing

Repeate the test up to 20 times until we get a read that doesn't
trigger promote.

Fixes: #9221 (again)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/librados/tier.cc