summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding_destined_recipient_test.cpp
diff options
context:
space:
mode:
authorGeorge Wangensteen <george.wangensteen@mongodb.com>2020-12-04 04:19:56 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-17 22:23:08 +0000
commit4fa2fcb16107c860448b58cd66798bae140e7263 (patch)
tree2c7fba9abb8fd16c73ea4f144ad0e44d4e4893db /src/mongo/db/s/resharding_destined_recipient_test.cpp
parent96319a93464d82deb5749c27aee3e71352fbc8a6 (diff)
downloadmongo-4fa2fcb16107c860448b58cd66798bae140e7263.tar.gz
SERVER-50656 Add cancellation support to WaitForMajorityService
Diffstat (limited to 'src/mongo/db/s/resharding_destined_recipient_test.cpp')
-rw-r--r--src/mongo/db/s/resharding_destined_recipient_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding_destined_recipient_test.cpp b/src/mongo/db/s/resharding_destined_recipient_test.cpp
index ddfdd8ef98f..5c3793fc92a 100644
--- a/src/mongo/db/s/resharding_destined_recipient_test.cpp
+++ b/src/mongo/db/s/resharding_destined_recipient_test.cpp
@@ -106,7 +106,7 @@ public:
configTargeterMock()->setFindHostReturnValue(kConfigHostAndPort);
- WaitForMajorityService::get(getServiceContext()).setUp(getServiceContext());
+ WaitForMajorityService::get(getServiceContext()).startup(getServiceContext());
for (const auto& shard : kShardList) {
std::unique_ptr<RemoteCommandTargeterMock> targeter(