diff options
author | George Wangensteen <george.wangensteen@mongodb.com> | 2020-12-04 04:19:56 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-17 22:23:08 +0000 |
commit | 4fa2fcb16107c860448b58cd66798bae140e7263 (patch) | |
tree | 2c7fba9abb8fd16c73ea4f144ad0e44d4e4893db /src/mongo/db/s/resharding_destined_recipient_test.cpp | |
parent | 96319a93464d82deb5749c27aee3e71352fbc8a6 (diff) | |
download | mongo-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.cpp | 2 |
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( |