diff options
Diffstat (limited to 'src/mongo/db/repl/databases_cloner_test.cpp')
-rw-r--r-- | src/mongo/db/repl/databases_cloner_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/repl/databases_cloner_test.cpp b/src/mongo/db/repl/databases_cloner_test.cpp index b6e9f97431e..f32c83c756a 100644 --- a/src/mongo/db/repl/databases_cloner_test.cpp +++ b/src/mongo/db/repl/databases_cloner_test.cpp @@ -38,6 +38,7 @@ #include "mongo/db/repl/oplog_entry.h" #include "mongo/db/repl/storage_interface.h" #include "mongo/db/repl/storage_interface_mock.h" +#include "mongo/db/service_context_test_fixture.h" #include "mongo/executor/network_interface_mock.h" #include "mongo/executor/thread_pool_task_executor_test_fixture.h" #include "mongo/stdx/mutex.h" @@ -77,7 +78,8 @@ struct StorageInterfaceResults { }; -class DBsClonerTest : public executor::ThreadPoolExecutorTest { +class DBsClonerTest : public executor::ThreadPoolExecutorTest, + public ScopedGlobalServiceContextForTest { public: DBsClonerTest() : _storageInterface{}, _dbWorkThreadPool(ThreadPool::Options()) {} |