diff options
author | George Wangensteen <george.wangensteen@mongodb.com> | 2021-02-04 16:23:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-04 17:45:23 +0000 |
commit | 3b4c40b136da419512bf6501655473db552efb11 (patch) | |
tree | afa116d98dd44521a2983b97e0f91dcafa859ab5 /src/mongo/db/s/range_deletion_util_test.cpp | |
parent | f6119db22f13329a15be3771f732088a06130922 (diff) | |
download | mongo-3b4c40b136da419512bf6501655473db552efb11.tar.gz |
Revert "SERVER-50656 Add cancellation support to WaitForMajorityService"
This reverts commit da77452821c355346d873a6b31160c101adc60de.
Diffstat (limited to 'src/mongo/db/s/range_deletion_util_test.cpp')
-rw-r--r-- | src/mongo/db/s/range_deletion_util_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/range_deletion_util_test.cpp b/src/mongo/db/s/range_deletion_util_test.cpp index 94088b7751a..12b5e11546d 100644 --- a/src/mongo/db/s/range_deletion_util_test.cpp +++ b/src/mongo/db/s/range_deletion_util_test.cpp @@ -57,7 +57,7 @@ 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); |