]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_rados_api_tier: try harder to trigger the flush vs try-flush race
authorSage Weil <sage@inktank.com>
Sun, 9 Feb 2014 04:20:21 +0000 (20:20 -0800)
committerSage Weil <sage@inktank.com>
Sun, 9 Feb 2014 04:20:21 +0000 (20:20 -0800)
It seems to be reasonable easy to complete a flush before the next client
request is processed.  Crazy...

Same with the flush vs write race.

Fixes: #7329
Signed-off-by: Sage Weil <sage@inktank.com>
src/test/librados/tier.cc

index 972ef5ecc985577c0f42a61f6b7379419f906fa3..065ad34891c94d0536ce8588100c9415604f568e 100644 (file)
@@ -1550,7 +1550,7 @@ TEST(LibRadosTier, FlushWriteRaces) {
     completion2->release();
   }
 
-  int tries = 10;
+  int tries = 1000;
   do {
     // create/dirty object
     {
@@ -1704,7 +1704,7 @@ TEST(LibRadosTier, FlushTryFlushRaces) {
   }
 
   // create/dirty object
-  int tries = 10;
+  int tries = 1000;
   do {
     {
       bufferlist bl;