summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail_test_fixture.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-05-02 10:52:08 -0400
committerBenety Goh <benety@mongodb.com>2018-05-02 10:52:08 -0400
commited967e1216becd9195a77cbce5bd0f9a40a54d5b (patch)
tree55be8e751d90ce09ffdb85567985b9e5e99d422a /src/mongo/db/repl/sync_tail_test_fixture.h
parent17e5914811e5cc9f8dfe5d46b0771abfead6c9c3 (diff)
downloadmongo-ed967e1216becd9195a77cbce5bd0f9a40a54d5b.tar.gz
SERVER-32334 OplogApplier and SyncTail accept ReplicationConsistencyMarkers and StorageInterface at construction
Diffstat (limited to 'src/mongo/db/repl/sync_tail_test_fixture.h')
-rw-r--r--src/mongo/db/repl/sync_tail_test_fixture.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/sync_tail_test_fixture.h b/src/mongo/db/repl/sync_tail_test_fixture.h
index 2ac1b9b74ba..6ae19b96ac6 100644
--- a/src/mongo/db/repl/sync_tail_test_fixture.h
+++ b/src/mongo/db/repl/sync_tail_test_fixture.h
@@ -31,6 +31,7 @@
#include "mongo/base/status.h"
#include "mongo/db/concurrency/lock_manager_defs.h"
#include "mongo/db/op_observer_noop.h"
+#include "mongo/db/repl/replication_consistency_markers.h"
#include "mongo/db/repl/sync_tail.h"
#include "mongo/db/service_context_d_test_fixture.h"
@@ -124,6 +125,9 @@ protected:
void setUp() override;
void tearDown() override;
+ ReplicationConsistencyMarkers* getConsistencyMarkers() const;
+ StorageInterface* getStorageInterface() const;
+
Status runOpSteadyState(const OplogEntry& op);
Status runOpsSteadyState(std::vector<OplogEntry> ops);
Status runOpInitialSync(const OplogEntry& entry);