summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2017-09-01 14:06:58 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2017-09-06 13:41:32 -0400
commited601dd01169b8c1fad9fb8d388da0523a1b48f5 (patch)
tree4d08bd1a36a12967fcb098432709da07236026b3 /src/mongo/db/pipeline/document_source_bucket_auto_test.cpp
parent456ba544978a0d41a2261bf65da686874fb631a2 (diff)
downloadmongo-ed601dd01169b8c1fad9fb8d388da0523a1b48f5.tar.gz
SERVER-30899 Aggregations sent from a 3.4 mongos should serialize 3.4 metadata
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);
}