diff options
Diffstat (limited to 'src/mongo/s/sharding_mongod_test_fixture.h')
-rw-r--r-- | src/mongo/s/sharding_mongod_test_fixture.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/sharding_mongod_test_fixture.h b/src/mongo/s/sharding_mongod_test_fixture.h index e3ffa13d582..62435c97e79 100644 --- a/src/mongo/s/sharding_mongod_test_fixture.h +++ b/src/mongo/s/sharding_mongod_test_fixture.h @@ -58,7 +58,7 @@ class TaskExecutorPool; } // namespace executor namespace repl { -class ReplicationCoordinator; +class ReplicationCoordinatorMock; class ReplSettings; } // namespace repl @@ -117,7 +117,7 @@ public: executor::TaskExecutor* executor() const; executor::NetworkInterfaceMock* network() const; - repl::ReplicationCoordinator* replicationCoordinator() const; + repl::ReplicationCoordinatorMock* replicationCoordinator() const; /** * Returns the stored raw pointer to the DistLockCatalog, if it has been initialized. @@ -182,7 +182,7 @@ protected: /** * Base class returns ReplicationCoordinatorMock. */ - virtual std::unique_ptr<repl::ReplicationCoordinator> makeReplicationCoordinator( + virtual std::unique_ptr<repl::ReplicationCoordinatorMock> makeReplicationCoordinator( repl::ReplSettings replSettings); /** @@ -264,7 +264,7 @@ private: // store a raw pointer to it here. DistLockManager* _distLockManager = nullptr; - repl::ReplicationCoordinator* _replCoord = nullptr; + repl::ReplicationCoordinatorMock* _replCoord = nullptr; // Allows for processing tasks through the NetworkInterfaceMock/ThreadPoolMock subsystem. std::unique_ptr<executor::NetworkTestEnv> _networkTestEnv; |