diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2020-12-04 08:13:42 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-01-03 11:56:04 +0000 |
commit | 5431150d116b70fc9401c46deaacc9ae049f064e (patch) | |
tree | d1784b3cb2355cee9401e539f4574f0172995d8d /src/mongo/db/key_generator_update_test.cpp | |
parent | 98a7731d21a8746e584f7092aadbee60a5fad6ef (diff) | |
download | mongo-5431150d116b70fc9401c46deaacc9ae049f064e.tar.gz |
SERVER-53227 Move the DistLockManager to only be available on MongoD
Diffstat (limited to 'src/mongo/db/key_generator_update_test.cpp')
-rw-r--r-- | src/mongo/db/key_generator_update_test.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/key_generator_update_test.cpp b/src/mongo/db/key_generator_update_test.cpp index d0ed2cace3f..9590d3fda9a 100644 --- a/src/mongo/db/key_generator_update_test.cpp +++ b/src/mongo/db/key_generator_update_test.cpp @@ -39,7 +39,6 @@ #include "mongo/db/keys_collection_document.h" #include "mongo/db/s/config/config_server_test_fixture.h" #include "mongo/db/vector_clock_mutable.h" -#include "mongo/s/catalog/dist_lock_manager_mock.h" #include "mongo/unittest/unittest.h" #include "mongo/util/clock_source_mock.h" #include "mongo/util/fail_point.h" @@ -62,15 +61,6 @@ protected: return _catalogClient.get(); } - /** - * Intentionally create a DistLockManagerMock, even though this is a config serfver test in - * order to avoid the lock pinger thread from executing and accessing uninitialized state. - */ - std::unique_ptr<DistLockManager> makeDistLockManager( - std::unique_ptr<DistLockCatalog> distLockCatalog) override { - return std::make_unique<DistLockManagerMock>(std::move(distLockCatalog)); - } - private: std::unique_ptr<KeysCollectionClient> _catalogClient; }; |