From 794fc0b69a5f463fa50c9644628cad72b1296106 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 12 Apr 2012 15:00:10 -0700 Subject: [PATCH] test_idempotent_sequence: fix collection_move arg order Signed-off-by: Sage Weil --- src/test/filestore_test/DeterministicOpSequence.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/filestore_test/DeterministicOpSequence.cc b/src/test/filestore_test/DeterministicOpSequence.cc index 1d8b63efd7d78..83cdec3d0c181 100644 --- a/src/test/filestore_test/DeterministicOpSequence.cc +++ b/src/test/filestore_test/DeterministicOpSequence.cc @@ -71,7 +71,7 @@ void DeterministicOpSequence::run_one_op(int op, rngen_t& gen) do_remove(gen); break; case DSOP_COLL_MOVE: - //do_coll_move(gen); + do_coll_move(gen); break; case DSOP_COLL_ADD: //do_coll_add(gen); @@ -451,7 +451,7 @@ void DeterministicOpSequence::_do_coll_move(coll_t new_coll, ObjectStore::Transaction t; note_txn(&t); t.remove(new_coll, obj); - t.collection_move(old_coll, new_coll, obj); + t.collection_move(new_coll, old_coll, obj); m_store->apply_transaction(t); } -- 2.39.5