diff options
author | Ruoxin Xu <ruoxin.xu@mongodb.com> | 2020-10-29 12:14:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-01-07 11:20:50 +0000 |
commit | 90c89d33c400d2f1eb8972170b7a17e3315c4198 (patch) | |
tree | 2aaee3468e4350950b546b2b24783d9ddc2d8e2e /jstests/aggregation/aggregation_with_uuids.js | |
parent | 66cdb6d0fccf3b65c61a1bea5d6171591d21c9da (diff) | |
download | mongo-90c89d33c400d2f1eb8972170b7a17e3315c4198.tar.gz |
SERVER-51649 Convert aggregate command input to IDL
Diffstat (limited to 'jstests/aggregation/aggregation_with_uuids.js')
-rw-r--r-- | jstests/aggregation/aggregation_with_uuids.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/aggregation_with_uuids.js b/jstests/aggregation/aggregation_with_uuids.js index a394489ed3b..1e1245c8cb1 100644 --- a/jstests/aggregation/aggregation_with_uuids.js +++ b/jstests/aggregation/aggregation_with_uuids.js @@ -95,7 +95,7 @@ assert.sameMembers(collNameRes.cursor.firstBatch, docs); assert.commandFailedWithCode( testDB.runCommand( {aggregate: collName, collectionUUID: "NotAUUID", pipeline: [{$match: {}}], cursor: {}}), - ErrorCodes.InvalidUUID); + ErrorCodes.TypeMismatch); // collectionUUID is not allowed with change streams. assert.commandFailedWithCode( |