summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/catalog_control_test.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2019-03-12 09:53:51 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2019-03-12 09:53:51 -0400
commit83fa6e3879ab93549824fff82cab7030869563d0 (patch)
treeb492270544038677da915b21600de788ac470e2c /src/mongo/db/catalog/catalog_control_test.cpp
parentb7007e36f6a080cb1fadeef65e768f79e091b239 (diff)
downloadmongo-83fa6e3879ab93549824fff82cab7030869563d0.tar.gz
Revert "SERVER-39079 Move BackgroundOperation checks out of the catalog layer; add parallel IndexBuildsCoordinator checks for all BackgroundOperation checks"
This reverts commit d02edd5290131978f901ffc657bee3470d03f8fd.
Diffstat (limited to 'src/mongo/db/catalog/catalog_control_test.cpp')
-rw-r--r--src/mongo/db/catalog/catalog_control_test.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/catalog/catalog_control_test.cpp b/src/mongo/db/catalog/catalog_control_test.cpp
index 39b4d74153b..b887b9ef5d7 100644
--- a/src/mongo/db/catalog/catalog_control_test.cpp
+++ b/src/mongo/db/catalog/catalog_control_test.cpp
@@ -31,7 +31,6 @@
#include "mongo/db/catalog/database_holder_mock.h"
#include "mongo/db/client.h"
-#include "mongo/db/index_builds_coordinator_mongod.h"
#include "mongo/db/operation_context_noop.h"
#include "mongo/db/service_context.h"
#include "mongo/db/storage/storage_engine.h"
@@ -113,10 +112,6 @@ void CatalogControlTest::setUp() {
auto storageEngine = std::make_unique<MockStorageEngine>();
serviceContext->setStorageEngine(std::move(storageEngine));
DatabaseHolder::set(serviceContext.get(), std::make_unique<DatabaseHolderMock>());
- // Only need the IndexBuildsCoordinator to call into and check whether there are any index
- // builds in progress.
- IndexBuildsCoordinator::set(serviceContext.get(),
- std::make_unique<IndexBuildsCoordinatorMongod>());
setGlobalServiceContext(std::move(serviceContext));
}