]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerVictor Denisov <denisovenator@gmail.com>
Tue, 8 May 2018 04:34:39 +0000 (21:34 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 543de52c54a1a646ff869f83702760ec848eac2e)

src/test/objectstore/DeterministicOpSequence.cc
src/test/objectstore/DeterministicOpSequence.h

index 772715eb4ccbe2eab4a4ca68aa68906889df72b1..e52f2d78f03b9614d0f6ca0517fcfbd90b7a061e 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,