summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_test_fixture.h
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@tart.local>2016-03-01 16:15:53 -0500
committerScott Hernandez <scotthernandez@tart.local>2016-03-27 11:45:02 -0400
commit664295c8ca3152c48da572c770aa08c39e517bf4 (patch)
tree6f3db3803970f5ddf55eb20ce3ee0eb28076164b /src/mongo/db/repl/replication_coordinator_test_fixture.h
parent9be485ea5e262d7d69a5486cc60fce247b5ae57f (diff)
downloadmongo-664295c8ca3152c48da572c770aa08c39e517bf4.tar.gz
SERVER-23010: general cleanup and test fixture changes
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_test_fixture.h')
-rw-r--r--src/mongo/db/repl/replication_coordinator_test_fixture.h10
1 files changed, 10 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 1fe1bef07d6..1dd995003a4 100644
--- a/src/mongo/db/repl/replication_coordinator_test_fixture.h
+++ b/src/mongo/db/repl/replication_coordinator_test_fixture.h
@@ -226,6 +226,16 @@ protected:
void simulateEnoughHeartbeatsForAllNodesUp();
+ /**
+ * Disables read concern majority support.
+ */
+ void disableReadConcernMajoritySupport();
+
+ /**
+ * Disables snapshot support.
+ */
+ void disableSnapshots();
+
private:
std::unique_ptr<ReplicationCoordinatorImpl> _repl;
// Owned by ReplicationCoordinatorImpl