summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/timeseries_write_concern.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/timeseries_write_concern.js')
-rw-r--r--jstests/noPassthrough/timeseries_write_concern.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/timeseries_write_concern.js b/jstests/noPassthrough/timeseries_write_concern.js
index 5d6e9de6749..1b08b283edc 100644
--- a/jstests/noPassthrough/timeseries_write_concern.js
+++ b/jstests/noPassthrough/timeseries_write_concern.js
@@ -69,7 +69,7 @@ assert.eq(
restartReplicationOnSecondaries(replTest);
awaitInsert();
-assert.docEq(coll.find().toArray(), docs);
+assert.docEq(docs, coll.find().toArray());
const buckets = bucketsColl.find().toArray();
assert.eq(buckets.length, 1, 'Expected one bucket but found: ' + tojson(buckets));
const serverStatus = assert.commandWorked(testDB.serverStatus()).bucketCatalog;