summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_consistency_markers_impl_test.cpp
diff options
context:
space:
mode:
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.cpp2
1 files changed, 1 insertions, 1 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 ae4257507c1..9abfb52c525 100644
--- a/src/mongo/db/repl/replication_consistency_markers_impl_test.cpp
+++ b/src/mongo/db/repl/replication_consistency_markers_impl_test.cpp
@@ -282,7 +282,7 @@ TEST_F(ReplicationConsistencyMarkersTest, ReplicationConsistencyMarkers) {
// Set min valid without waiting for the changes to be durable.
OpTime endOpTime2({Seconds(789), 0}, 1LL);
consistencyMarkers.setMinValid(opCtx, endOpTime2);
- consistencyMarkers.setAppliedThrough(opCtx, {});
+ consistencyMarkers.clearAppliedThrough(opCtx, {});
ASSERT_EQUALS(consistencyMarkers.getAppliedThrough(opCtx), OpTime());
ASSERT_EQUALS(consistencyMarkers.getMinValid(opCtx), endOpTime2);
ASSERT_FALSE(recoveryUnit->waitUntilDurableCalled);