diff options
author | Romans Kasperovics <romans.kasperovics@mongodb.com> | 2022-12-20 11:26:52 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-12-20 11:59:17 +0000 |
commit | 5324ef1fab3f06ad008050ac12fadb12b8de877c (patch) | |
tree | 8d275c491bf7f5f378947269dca3d3c53ad0abf8 /jstests/noPassthrough/timeseries_insert_after_cycle_primary.js | |
parent | f84b645556a27b078b61260d55c53b664aff8b7f (diff) | |
download | mongo-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.js | 2 |
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, |