summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_catalog_test.cpp
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2023-04-17 23:34:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-18 00:59:57 +0000
commit82c43a6d4fee436bbd02753288894f52b606c343 (patch)
treea13b0dc9a347b43a5b4f793782585a4facd38629 /src/mongo/db/catalog/collection_catalog_test.cpp
parent3c5d9c099046af67ee02564cf5eeabd2031b5da2 (diff)
downloadmongo-82c43a6d4fee436bbd02753288894f52b606c343.tar.gz
SERVER-68269 Remove minimum visible snapshot for indexes
Diffstat (limited to 'src/mongo/db/catalog/collection_catalog_test.cpp')
-rw-r--r--src/mongo/db/catalog/collection_catalog_test.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/catalog/collection_catalog_test.cpp b/src/mongo/db/catalog/collection_catalog_test.cpp
index 227ec0ca5b0..0f1ab9ab043 100644
--- a/src/mongo/db/catalog/collection_catalog_test.cpp
+++ b/src/mongo/db/catalog/collection_catalog_test.cpp
@@ -1372,14 +1372,6 @@ TEST_F(CollectionCatalogTimestampTest, MinimumValidSnapshot) {
ASSERT_EQ(coll->getMinimumVisibleSnapshot(), createCollectionTs);
ASSERT_EQ(coll->getMinimumValidSnapshot(), createYIndexTs);
- const IndexDescriptor* desc = coll->getIndexCatalog()->findIndexByName(opCtx.get(), "x_1");
- const IndexCatalogEntry* entry = coll->getIndexCatalog()->getEntry(desc);
- ASSERT_EQ(entry->getMinimumVisibleSnapshot(), createXIndexTs);
-
- desc = coll->getIndexCatalog()->findIndexByName(opCtx.get(), "y_1");
- entry = coll->getIndexCatalog()->getEntry(desc);
- ASSERT_EQ(entry->getMinimumVisibleSnapshot(), createYIndexTs);
-
dropIndex(opCtx.get(), nss, "x_1", dropIndexTs);
dropIndex(opCtx.get(), nss, "y_1", dropIndexTs);