summaryrefslogtreecommitdiff
path: root/jstests/sharding/change_stream_resume_from_different_mongos.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/sharding/change_stream_resume_from_different_mongos.js
parentf84b645556a27b078b61260d55c53b664aff8b7f (diff)
downloadmongo-5324ef1fab3f06ad008050ac12fadb12b8de877c.tar.gz
SERVER-70042 Assign expected / actual semantics to assert.docEq() arguments
Diffstat (limited to 'jstests/sharding/change_stream_resume_from_different_mongos.js')
-rw-r--r--jstests/sharding/change_stream_resume_from_different_mongos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/change_stream_resume_from_different_mongos.js b/jstests/sharding/change_stream_resume_from_different_mongos.js
index 27fca91e6b7..897272a7fe2 100644
--- a/jstests/sharding/change_stream_resume_from_different_mongos.js
+++ b/jstests/sharding/change_stream_resume_from_different_mongos.js
@@ -59,7 +59,7 @@ for (let key of Object.keys(ChangeStreamWatchMode)) {
const docsFoundInOrder = [firstChange];
for (let i = 0; i < nDocs - 1; i++) {
const change = cst.getOneChange(changeStream);
- assert.docEq(change.ns, {db: s0DB.getName(), coll: coll.getName()});
+ assert.docEq({db: s0DB.getName(), coll: coll.getName()}, change.ns);
assert.eq(change.operationType, "insert");
docsFoundInOrder.push(change);