summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_consistency_markers_impl_test.cpp
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2017-10-24 11:01:56 -0400
committerJudah Schvimer <judah@mongodb.com>2017-10-25 11:32:11 -0400
commit4199e981751f660c16e4909deccb9f5c7578754d (patch)
tree63cc0e1d868dc00a002fe2004a02e7172429482f /src/mongo/db/repl/replication_consistency_markers_impl_test.cpp
parent0935d7067068b3cb62a802a8696dd39c8d7e1944 (diff)
downloadmongo-4199e981751f660c16e4909deccb9f5c7578754d.tar.gz
SERVER-31608 future-proof FCV enum
Diffstat (limited to 'src/mongo/db/repl/replication_consistency_markers_impl_test.cpp')
-rw-r--r--src/mongo/db/repl/replication_consistency_markers_impl_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/replication_consistency_markers_impl_test.cpp b/src/mongo/db/repl/replication_consistency_markers_impl_test.cpp
index 105613c516f..69a233379ed 100644
--- a/src/mongo/db/repl/replication_consistency_markers_impl_test.cpp
+++ b/src/mongo/db/repl/replication_consistency_markers_impl_test.cpp
@@ -317,7 +317,7 @@ TEST_F(ReplicationConsistencyMarkersTest, OplogTruncateAfterPointUpgrade) {
// Set the feature compatibility version to 3.6.
serverGlobalParams.featureCompatibility.setVersion(
- ServerGlobalParams::FeatureCompatibility::Version::k36);
+ ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36);
// Check that we see no oplog truncate after point in FCV 3.6.
ASSERT(consistencyMarkers.getOplogTruncateAfterPoint(opCtx).isNull());
@@ -325,7 +325,7 @@ TEST_F(ReplicationConsistencyMarkersTest, OplogTruncateAfterPointUpgrade) {
// Set the feature compatibility version to 3.4.
serverGlobalParams.featureCompatibility.setVersion(
- ServerGlobalParams::FeatureCompatibility::Version::k34);
+ ServerGlobalParams::FeatureCompatibility::Version::kFullyDowngradedTo34);
// Check that we see the old oplog delete from point in FCV 3.4.
ASSERT_EQ(consistencyMarkers.getOplogTruncateAfterPoint(opCtx), time1);
@@ -348,7 +348,7 @@ TEST_F(ReplicationConsistencyMarkersTest, OplogTruncateAfterPointUpgrade) {
// Set the feature compatibility version to 3.6.
serverGlobalParams.featureCompatibility.setVersion(
- ServerGlobalParams::FeatureCompatibility::Version::k36);
+ ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36);
// Check that after removing the old oplog delete from point, that we do not see the oplog
// truncate after point in FCV 3.6.