summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_bucket_auto_test.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_bucket_auto_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp b/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp
index 333a130a0ae..08926254480 100644
--- a/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp
+++ b/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp
@@ -648,15 +648,15 @@ TEST_F(BucketAutoTests, ShouldFailIfBufferingTooManyDocuments) {
auto expCtx = getExpCtx();
expCtx->extSortAllowed = false;
- expCtx->inRouter = false;
+ expCtx->inMongos = false;
assertCannotSpillToDisk(expCtx);
expCtx->extSortAllowed = true;
- expCtx->inRouter = true;
+ expCtx->inMongos = true;
assertCannotSpillToDisk(expCtx);
expCtx->extSortAllowed = false;
- expCtx->inRouter = true;
+ expCtx->inMongos = true;
assertCannotSpillToDisk(expCtx);
}