summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_plan_executor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/query_plan_executor.cpp')
-rw-r--r--src/mongo/dbtests/query_plan_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_plan_executor.cpp b/src/mongo/dbtests/query_plan_executor.cpp
index 92e99e1d3ae..2cc7026e4b9 100644
--- a/src/mongo/dbtests/query_plan_executor.cpp
+++ b/src/mongo/dbtests/query_plan_executor.cpp
@@ -215,7 +215,7 @@ TEST_F(PlanExecutorTest, DropIndexScanAgg) {
// in the pipeline.
innerExec->saveState();
auto cursorSource = DocumentSourceCursor::create(collection, std::move(innerExec), expCtx);
- auto pipeline = assertGet(Pipeline::create({cursorSource}, expCtx));
+ auto pipeline = Pipeline::create({cursorSource}, expCtx);
// Create the output PlanExecutor that pulls results from the pipeline.
auto ws = std::make_unique<WorkingSet>();