summaryrefslogtreecommitdiff
path: root/src/mongo/executor
diff options
context:
space:
mode:
authorJason Zhang <jason.zhang@mongodb.com>2021-07-26 22:44:56 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-05 18:59:27 +0000
commit1f8ccdbff6715cbeb214d5b107f9598e5aeeb5e6 (patch)
treea5e15a22861b8c776a91dc2d0e2e3304ee176bf3 /src/mongo/executor
parent459b46b77029374dbe52a78050a1b281bd26ffd7 (diff)
downloadmongo-1f8ccdbff6715cbeb214d5b107f9598e5aeeb5e6.tar.gz
SERVER-54206 SERVER-54208 Create a non-blocking API for the Fetcher class (or create an alternate class)
Diffstat (limited to 'src/mongo/executor')
-rw-r--r--src/mongo/executor/task_executor_test_fixture.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/executor/task_executor_test_fixture.h b/src/mongo/executor/task_executor_test_fixture.h
index fe7ed6554ad..ffa1c5dc7f1 100644
--- a/src/mongo/executor/task_executor_test_fixture.h
+++ b/src/mongo/executor/task_executor_test_fixture.h
@@ -69,6 +69,10 @@ public:
return *_executor;
}
+ std::shared_ptr<TaskExecutor> getExecutorPtr() const {
+ return _executor;
+ }
+
/**
* Initializes both the NetworkInterfaceMock and TaskExecutor but does not start the executor.
*/