summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_lookup_test.cpp
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2020-09-02 12:07:23 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-12-01 20:00:06 +0000
commita71a2a8bfecf7de0807a28e3eabf9412dddd4258 (patch)
tree44f7728d23d755e87a6fef8bb3e2b60bf5d82784 /src/mongo/db/pipeline/document_source_lookup_test.cpp
parent1fba06eafa75520fb7ded3103f3832465023c6be (diff)
downloadmongo-a71a2a8bfecf7de0807a28e3eabf9412dddd4258.tar.gz
SERVER-47398 Start sending 'let' for aggregates.
Replaces usages of 'runtimeConstants' with 'let' parameters. This does not replace usages for the write commands and for $merge. We will need follow-up work for that.
Diffstat (limited to 'src/mongo/db/pipeline/document_source_lookup_test.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_lookup_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/document_source_lookup_test.cpp b/src/mongo/db/pipeline/document_source_lookup_test.cpp
index 5d8bedf72b4..66c35191000 100644
--- a/src/mongo/db/pipeline/document_source_lookup_test.cpp
+++ b/src/mongo/db/pipeline/document_source_lookup_test.cpp
@@ -341,7 +341,7 @@ TEST_F(DocumentSourceLookUpTest, RejectsInvalidLetVariableName) {
.firstElement(),
expCtx),
AssertionException,
- 16866);
+ ErrorCodes::FailedToParse);
ASSERT_THROWS_CODE(
DocumentSourceLookUp::createFromBson(
@@ -356,7 +356,7 @@ TEST_F(DocumentSourceLookUpTest, RejectsInvalidLetVariableName) {
.firstElement(),
expCtx),
AssertionException,
- 16867);
+ ErrorCodes::FailedToParse);
ASSERT_THROWS_CODE(
DocumentSourceLookUp::createFromBson(
@@ -371,7 +371,7 @@ TEST_F(DocumentSourceLookUpTest, RejectsInvalidLetVariableName) {
.firstElement(),
expCtx),
AssertionException,
- 16868);
+ ErrorCodes::FailedToParse);
}
TEST_F(DocumentSourceLookUpTest, ShouldBeAbleToReParseSerializedStage) {