summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/timeseries_insert_rollback.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/timeseries_insert_rollback.js')
-rw-r--r--jstests/noPassthrough/timeseries_insert_rollback.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/timeseries_insert_rollback.js b/jstests/noPassthrough/timeseries_insert_rollback.js
index 54451ea72c9..eeaefcbee7f 100644
--- a/jstests/noPassthrough/timeseries_insert_rollback.js
+++ b/jstests/noPassthrough/timeseries_insert_rollback.js
@@ -53,7 +53,7 @@ rollbackTest.transitionToSteadyStateOperations();
assert.commandWorked(coll.insert(docs[2], {ordered: true}));
assert.commandWorked(coll.insert(docs[3], {ordered: false}));
-assert.docEq(coll.find().toArray(), docs.slice(2));
+assert.sameMembers(coll.find().toArray(), docs.slice(2));
const buckets = bucketsColl.find().toArray();
assert.eq(buckets.length, 2, 'Expected two bucket but found: ' + tojson(buckets));