From 5324ef1fab3f06ad008050ac12fadb12b8de877c Mon Sep 17 00:00:00 2001 From: Romans Kasperovics Date: Tue, 20 Dec 2022 11:26:52 +0000 Subject: SERVER-70042 Assign expected / actual semantics to assert.docEq() arguments --- jstests/noPassthrough/timeseries_insert_after_cycle_primary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jstests/noPassthrough/timeseries_insert_after_cycle_primary.js') 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, -- cgit v1.2.1