summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/aggregation_request_test.cpp
diff options
context:
space:
mode:
authorRuoxin Xu <ruoxin.xu@mongodb.com>2021-02-02 21:03:25 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-17 11:23:05 +0000
commit5ada96cbe318734f9c7dfa26dea3f28dbe4627bf (patch)
tree5a63211f065b1e40e5eeeb239d241355e1720ffa /src/mongo/db/pipeline/aggregation_request_test.cpp
parentd4ff82a11019aef87701db9053499461601e75d6 (diff)
downloadmongo-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.cpp6
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}};