summaryrefslogtreecommitdiff
path: root/jstests/replsets/rollback_files_no_prepare_conflict.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/rollback_files_no_prepare_conflict.js')
-rw-r--r--jstests/replsets/rollback_files_no_prepare_conflict.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/rollback_files_no_prepare_conflict.js b/jstests/replsets/rollback_files_no_prepare_conflict.js
index 40cc954b068..25d0aa3f8de 100644
--- a/jstests/replsets/rollback_files_no_prepare_conflict.js
+++ b/jstests/replsets/rollback_files_no_prepare_conflict.js
@@ -50,7 +50,7 @@ jsTestLog("Verify that the document is in the same state as it was at the common
primary = rollbackTest.getPrimary();
testDB = primary.getDB(dbName);
testColl = testDB.getCollection(collName);
-assert.docEq(testColl.findOne({_id: 42}), {_id: 42, a: "one"});
+assert.docEq({_id: 42, a: "one"}, testColl.findOne({_id: 42}));
rollbackTest.stop();
})();