summaryrefslogtreecommitdiff
path: root/jstests/aggregation/aggregation_with_uuids.js
diff options
context:
space:
mode:
authorRuoxin Xu <ruoxin.xu@mongodb.com>2020-10-29 12:14:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-07 11:20:50 +0000
commit90c89d33c400d2f1eb8972170b7a17e3315c4198 (patch)
tree2aaee3468e4350950b546b2b24783d9ddc2d8e2e /jstests/aggregation/aggregation_with_uuids.js
parent66cdb6d0fccf3b65c61a1bea5d6171591d21c9da (diff)
downloadmongo-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.js2
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(