From: Sage Weil Date: Sat, 3 Feb 2018 15:20:21 +0000 (-0600) Subject: ceph_test_filestore_idempotent_sequence: fix gap in ops X-Git-Tag: v13.0.2~338^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=543de52c54a1a646ff869f83702760ec848eac2e;p=ceph.git ceph_test_filestore_idempotent_sequence: fix gap in ops Signed-off-by: Sage Weil --- diff --git a/src/test/objectstore/DeterministicOpSequence.cc b/src/test/objectstore/DeterministicOpSequence.cc index f92a4cf8f39c..e25003f61a3a 100644 --- a/src/test/objectstore/DeterministicOpSequence.cc +++ b/src/test/objectstore/DeterministicOpSequence.cc @@ -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; diff --git a/src/test/objectstore/DeterministicOpSequence.h b/src/test/objectstore/DeterministicOpSequence.h index b3707a202814..44ee46a71924 100644 --- a/src/test/objectstore/DeterministicOpSequence.h +++ b/src/test/objectstore/DeterministicOpSequence.h @@ -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,