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/sharding/change_stream_resume_from_different_mongos.js | |
parent | f84b645556a27b078b61260d55c53b664aff8b7f (diff) | |
download | mongo-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.js | 2 |
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); |