summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/timeseries_insert_after_cycle_primary.js
diff options
context:
space:
mode:
authorRomans Kasperovics <romans.kasperovics@mongodb.com>2022-12-20 11:26:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-20 11:59:17 +0000
commit5324ef1fab3f06ad008050ac12fadb12b8de877c (patch)
tree8d275c491bf7f5f378947269dca3d3c53ad0abf8 /jstests/noPassthrough/timeseries_insert_after_cycle_primary.js
parentf84b645556a27b078b61260d55c53b664aff8b7f (diff)
downloadmongo-5324ef1fab3f06ad008050ac12fadb12b8de877c.tar.gz
SERVER-70042 Assign expected / actual semantics to assert.docEq() arguments
Diffstat (limited to 'jstests/noPassthrough/timeseries_insert_after_cycle_primary.js')
-rw-r--r--jstests/noPassthrough/timeseries_insert_after_cycle_primary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/timeseries_insert_after_cycle_primary.js b/jstests/noPassthrough/timeseries_insert_after_cycle_primary.js
index b35226b63e6..44c922a6b79 100644
--- a/jstests/noPassthrough/timeseries_insert_after_cycle_primary.js
+++ b/jstests/noPassthrough/timeseries_insert_after_cycle_primary.js
@@ -71,7 +71,7 @@ for (let i = 0; i < numColls; i++) {
const checkColl = function(num, numBuckets) {
jsTestLog('Checking collection ' + num);
- assert.docEq(coll(num).find().sort({_id: 1}).toArray(), docs);
+ assert.docEq(docs, coll(num).find().sort({_id: 1}).toArray());
const buckets = bucketsColl(num).find().toArray();
assert.eq(buckets.length,
numBuckets,