summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/collection_sharding_runtime_test.cpp
diff options
context:
space:
mode:
authorGeorge Wangensteen <george.wangensteen@mongodb.com>2021-02-04 16:23:05 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-04 17:45:23 +0000
commit3b4c40b136da419512bf6501655473db552efb11 (patch)
treeafa116d98dd44521a2983b97e0f91dcafa859ab5 /src/mongo/db/s/collection_sharding_runtime_test.cpp
parentf6119db22f13329a15be3771f732088a06130922 (diff)
downloadmongo-3b4c40b136da419512bf6501655473db552efb11.tar.gz
Revert "SERVER-50656 Add cancellation support to WaitForMajorityService"
This reverts commit da77452821c355346d873a6b31160c101adc60de.
Diffstat (limited to 'src/mongo/db/s/collection_sharding_runtime_test.cpp')
-rw-r--r--src/mongo/db/s/collection_sharding_runtime_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/collection_sharding_runtime_test.cpp b/src/mongo/db/s/collection_sharding_runtime_test.cpp
index db87d219711..1779b75b60b 100644
--- a/src/mongo/db/s/collection_sharding_runtime_test.cpp
+++ b/src/mongo/db/s/collection_sharding_runtime_test.cpp
@@ -188,7 +188,7 @@ class CollectionShardingRuntimeWithRangeDeleterTest : public CollectionShardingR
public:
void setUp() override {
ShardServerTestFixture::setUp();
- WaitForMajorityService::get(getServiceContext()).startup(getServiceContext());
+ WaitForMajorityService::get(getServiceContext()).setUp(getServiceContext());
// Set up replication coordinator to be primary and have no replication delay.
auto replCoord = std::make_unique<repl::ReplicationCoordinatorMock>(getServiceContext());
replCoord->setCanAcceptNonLocalWrites(true);