diff options
author | Scott Hernandez <scotthernandez@tart.local> | 2016-03-01 16:15:53 -0500 |
---|---|---|
committer | Scott Hernandez <scotthernandez@tart.local> | 2016-03-27 11:45:02 -0400 |
commit | 664295c8ca3152c48da572c770aa08c39e517bf4 (patch) | |
tree | 6f3db3803970f5ddf55eb20ce3ee0eb28076164b /src/mongo/db/repl/replication_coordinator_test_fixture.h | |
parent | 9be485ea5e262d7d69a5486cc60fce247b5ae57f (diff) | |
download | mongo-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.h | 10 |
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 |