summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp b/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp
index f47186f8e91..d6b063c965d 100644
--- a/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp
+++ b/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp
@@ -60,7 +60,9 @@ public:
: _mockResults(std::move(mockResults)) {}
std::unique_ptr<Pipeline, PipelineDeleter> attachCursorSourceToPipeline(
- Pipeline* ownedPipeline, bool allowTargetingShards = true) final {
+ Pipeline* ownedPipeline,
+ ShardTargetingPolicy shardTargetingPolicy = ShardTargetingPolicy::kAllowed,
+ boost::optional<BSONObj> readConcern = boost::none) final {
std::unique_ptr<Pipeline, PipelineDeleter> pipeline(
ownedPipeline, PipelineDeleter(ownedPipeline->getContext()->opCtx));