diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-07-25 17:14:56 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-07-25 17:14:56 -0400 |
commit | ba178d6455bd8490bfb90c434c9b1ef66b37c643 (patch) | |
tree | d5659eb926fbc711955fb8342cf558400f62009a /src/mongo/db/repl/replication_coordinator_test_fixture.h | |
parent | 79d20fad099532ffb48b688c41acf73dbca91a57 (diff) | |
download | mongo-ba178d6455bd8490bfb90c434c9b1ef66b37c643.tar.gz |
SERVER-30184 Call setInitialDataTimestamp at the end of processing replSetInitiate
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_test_fixture.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_test_fixture.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_test_fixture.h b/src/mongo/db/repl/replication_coordinator_test_fixture.h index 9f1b27aabea..e1aaa9ca6d1 100644 --- a/src/mongo/db/repl/replication_coordinator_test_fixture.h +++ b/src/mongo/db/repl/replication_coordinator_test_fixture.h @@ -112,6 +112,13 @@ protected: } /** + * Gets the storage interface. + */ + StorageInterfaceMock* getStorageInterface() { + return _storageInterface; + } + + /** * Gets the topology coordinator used by the replication coordinator under test. */ TopologyCoordinatorImpl& getTopoCoord() { @@ -267,6 +274,8 @@ private: ReplicationCoordinatorExternalStateMock* _externalState = nullptr; // Owned by ReplicationCoordinatorImpl executor::TaskExecutor* _replExec = nullptr; + // Owned by the ServiceContext + StorageInterfaceMock* _storageInterface = nullptr; ReplSettings _settings; bool _callShutdown = false; |