diff options
author | Jason Zhang <jason.zhang@mongodb.com> | 2021-07-26 22:44:56 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-05 18:59:27 +0000 |
commit | 1f8ccdbff6715cbeb214d5b107f9598e5aeeb5e6 (patch) | |
tree | a5e15a22861b8c776a91dc2d0e2e3304ee176bf3 /src/mongo/executor | |
parent | 459b46b77029374dbe52a78050a1b281bd26ffd7 (diff) | |
download | mongo-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.h | 4 |
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. */ |