diff options
author | Benety Goh <benety@mongodb.com> | 2015-08-18 14:28:06 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2015-08-21 12:22:49 -0400 |
commit | 1f464153447317f7f001ef484bc2049e37971b09 (patch) | |
tree | 4d5dcbf4d165e01dfe036619b8c0eaa622235fc0 /src/mongo/db/repl/replication_coordinator_test_fixture.h | |
parent | 29e4bccc7bc9344febdbb7bbc76f66b8887e93a4 (diff) | |
download | mongo-1f464153447317f7f001ef484bc2049e37971b09.tar.gz |
SERVER-19831 updateTerm test cleanup
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_test_fixture.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_test_fixture.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_test_fixture.h b/src/mongo/db/repl/replication_coordinator_test_fixture.h index d38ef060eb7..80601582d15 100644 --- a/src/mongo/db/repl/replication_coordinator_test_fixture.h +++ b/src/mongo/db/repl/replication_coordinator_test_fixture.h @@ -68,9 +68,6 @@ public: */ static ReplicaSetConfig assertMakeRSConfig(const BSONObj& configBSON); - ReplCoordTest(); - virtual ~ReplCoordTest(); - protected: virtual void setUp(); virtual void tearDown(); @@ -191,15 +188,15 @@ protected: private: std::unique_ptr<ReplicationCoordinatorImpl> _repl; // Owned by ReplicationCoordinatorImpl - TopologyCoordinatorImpl* _topo; + TopologyCoordinatorImpl* _topo = nullptr; // Owned by ReplicationCoordinatorImpl - executor::NetworkInterfaceMock* _net; + executor::NetworkInterfaceMock* _net = nullptr; // Owned by ReplicationCoordinatorImpl - StorageInterfaceMock* _storage; + StorageInterfaceMock* _storage = nullptr; // Owned by ReplicationCoordinatorImpl - ReplicationCoordinatorExternalStateMock* _externalState; + ReplicationCoordinatorExternalStateMock* _externalState = nullptr; ReplSettings _settings; - bool _callShutdown; + bool _callShutdown = false; }; } // namespace repl |