diff options
author | Ruoxin Xu <ruoxin.xu@mongodb.com> | 2021-02-02 21:03:25 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-17 11:23:05 +0000 |
commit | 5ada96cbe318734f9c7dfa26dea3f28dbe4627bf (patch) | |
tree | 5a63211f065b1e40e5eeeb239d241355e1720ffa /src/mongo/db/pipeline/aggregation_request_test.cpp | |
parent | d4ff82a11019aef87701db9053499461601e75d6 (diff) | |
download | mongo-5ada96cbe318734f9c7dfa26dea3f28dbe4627bf.tar.gz |
SERVER-53060 Remove QueryRequest class
Diffstat (limited to 'src/mongo/db/pipeline/aggregation_request_test.cpp')
-rw-r--r-- | src/mongo/db/pipeline/aggregation_request_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/aggregation_request_test.cpp b/src/mongo/db/pipeline/aggregation_request_test.cpp index 8dac4105fb3..3adb9219d20 100644 --- a/src/mongo/db/pipeline/aggregation_request_test.cpp +++ b/src/mongo/db/pipeline/aggregation_request_test.cpp @@ -39,7 +39,7 @@ #include "mongo/db/exec/document_value/document_value_test_util.h" #include "mongo/db/exec/document_value/value.h" #include "mongo/db/namespace_string.h" -#include "mongo/db/query/query_request.h" +#include "mongo/db/query/query_request_helper.h" #include "mongo/db/repl/read_concern_args.h" #include "mongo/unittest/unittest.h" #include "mongo/util/assert_util.h" @@ -221,7 +221,7 @@ TEST(AggregationRequestTest, ShouldSerializeOptionalValuesIfSet) { {AggregateCommand::kPipelineFieldName, std::vector<Value>{}}, {AggregateCommand::kAllowDiskUseFieldName, true}, {AggregateCommand::kCursorFieldName, Value(Document({{kBatchSizeFieldName, 10}}))}, - {QueryRequest::cmdOptionMaxTimeMS, 10}, + {query_request_helper::cmdOptionMaxTimeMS, 10}, {AggregateCommand::kBypassDocumentValidationFieldName, true}, {repl::ReadConcernArgs::kReadConcernFieldName, readConcernObj}, {AggregateCommand::kCollationFieldName, collationObj}, @@ -229,7 +229,7 @@ TEST(AggregationRequestTest, ShouldSerializeOptionalValuesIfSet) { {AggregateCommand::kLetFieldName, letParamsObj}, {AggregateCommand::kNeedsMergeFieldName, true}, {AggregateCommand::kFromMongosFieldName, true}, - {QueryRequest::kUnwrappedReadPrefField, readPrefObj}, + {query_request_helper::kUnwrappedReadPrefField, readPrefObj}, {AggregateCommand::kRequestReshardingResumeTokenFieldName, true}, {AggregateCommand::kIsMapReduceCommandFieldName, true}, {AggregateCommand::kCollectionUUIDFieldName, uuid}}; |