]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph_test_filestore_idempotent_sequence: fix gap in ops
authorSage Weil <sage@redhat.com>
Sat, 3 Feb 2018 15:20:21 +0000 (09:20 -0600)
committerSage Weil <sage@redhat.com>
Sat, 3 Feb 2018 15:20:21 +0000 (09:20 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/DeterministicOpSequence.cc
src/test/objectstore/DeterministicOpSequence.h

index f92a4cf8f39ccebddb92a5b489e388c15890d6b4..e25003f61a3a6be23d5a2845d7c5afb6a443dd83 100644 (file)
@@ -81,6 +81,7 @@ bool DeterministicOpSequence::run_one_op(int op, rngen_t& gen)
     break;
 
   default:
+    cout << "bad op " << op << std::endl;
     assert(0 == "bad op");
   }
   return ok;
index b3707a202814d143a791cdae5c765cab25c7002a..44ee46a71924860ca13bba2589a6ef94047004f0 100644 (file)
@@ -39,9 +39,9 @@ class DeterministicOpSequence : public TestObjectStoreState {
     DSOP_CLONE = 2,
     DSOP_CLONE_RANGE = 3,
     DSOP_OBJ_REMOVE = 4,
-    DSOP_COLL_MOVE = 6,
-    DSOP_SET_ATTRS = 7,
-    DSOP_COLL_CREATE = 8,
+    DSOP_COLL_MOVE = 5,
+    DSOP_SET_ATTRS = 6,
+    DSOP_COLL_CREATE = 7,
 
     DSOP_FIRST = DSOP_TOUCH,
     DSOP_LAST = DSOP_COLL_CREATE,