diff options
Diffstat (limited to 'src/mongo/executor/thread_pool_task_executor_test_fixture.h')
-rw-r--r-- | src/mongo/executor/thread_pool_task_executor_test_fixture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/executor/thread_pool_task_executor_test_fixture.h b/src/mongo/executor/thread_pool_task_executor_test_fixture.h index 2519de104f1..07d593b244f 100644 --- a/src/mongo/executor/thread_pool_task_executor_test_fixture.h +++ b/src/mongo/executor/thread_pool_task_executor_test_fixture.h @@ -46,6 +46,10 @@ std::unique_ptr<ThreadPoolTaskExecutor> makeThreadPoolTestExecutor( std::unique_ptr<NetworkInterfaceMock> net, executor::ThreadPoolMock::Options options = executor::ThreadPoolMock::Options()); +std::shared_ptr<ThreadPoolTaskExecutor> makeSharedThreadPoolTestExecutor( + std::unique_ptr<NetworkInterfaceMock> net, + executor::ThreadPoolMock::Options options = executor::ThreadPoolMock::Options()); + /** * Useful fixture class for tests that use a ThreadPoolTaskExecutor. */ |