summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog_raii_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog_raii_test.cpp')
-rw-r--r--src/mongo/db/catalog_raii_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog_raii_test.cpp b/src/mongo/db/catalog_raii_test.cpp
index 50913896118..733ed190250 100644
--- a/src/mongo/db/catalog_raii_test.cpp
+++ b/src/mongo/db/catalog_raii_test.cpp
@@ -260,8 +260,8 @@ TEST_F(ReadSourceScopeTest, RestoreReadSource) {
ReadSourceScope scope(opCtx());
ASSERT_EQ(opCtx()->recoveryUnit()->getTimestampReadSource(), ReadSource::kUnset);
- opCtx()->recoveryUnit()->setTimestampReadSource(ReadSource::kLastApplied);
- ASSERT_EQ(opCtx()->recoveryUnit()->getTimestampReadSource(), ReadSource::kLastApplied);
+ opCtx()->recoveryUnit()->setTimestampReadSource(ReadSource::kNoOverlap);
+ ASSERT_EQ(opCtx()->recoveryUnit()->getTimestampReadSource(), ReadSource::kNoOverlap);
ASSERT_EQ(opCtx()->recoveryUnit()->getPointInTimeReadTimestamp(), boost::none);
}
ASSERT_EQ(opCtx()->recoveryUnit()->getTimestampReadSource(), ReadSource::kProvided);