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.cpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/mongo/db/catalog_raii_test.cpp b/src/mongo/db/catalog_raii_test.cpp
index f1b41a22fee..604f590c045 100644
--- a/src/mongo/db/catalog_raii_test.cpp
+++ b/src/mongo/db/catalog_raii_test.cpp
@@ -226,7 +226,7 @@ TEST_F(CatalogRAIITestFixture, AutoGetCollectionLockFreeGlobalLockDeadline) {
AutoGetCollectionLockFree coll(
client2.second.get(),
nss,
- [](std::shared_ptr<const Collection>&, OperationContext*, CollectionUUID) {},
+ [](std::shared_ptr<const Collection>&, OperationContext*, UUID) {},
AutoGetCollectionViewMode::kViewsForbidden,
Date_t::now() + timeoutMs);
},
@@ -240,9 +240,8 @@ TEST_F(CatalogRAIITestFixture, AutoGetCollectionLockFreeCompatibleWithCollection
ASSERT(client1.second->lockState()->isCollectionLockedForMode(nss, MODE_X));
AutoGetCollectionLockFree coll(
- client2.second.get(),
- nss,
- [](std::shared_ptr<const Collection>&, OperationContext*, CollectionUUID) {});
+ client2.second.get(), nss, [](std::shared_ptr<const Collection>&, OperationContext*, UUID) {
+ });
ASSERT(client2.second->lockState()->isLocked());
}
@@ -251,9 +250,8 @@ TEST_F(CatalogRAIITestFixture, AutoGetCollectionLockFreeCompatibleWithDatabaseEx
ASSERT(client1.second->lockState()->isDbLockedForMode(nss.db(), MODE_X));
AutoGetCollectionLockFree coll(
- client2.second.get(),
- nss,
- [](std::shared_ptr<const Collection>&, OperationContext*, CollectionUUID) {});
+ client2.second.get(), nss, [](std::shared_ptr<const Collection>&, OperationContext*, UUID) {
+ });
ASSERT(client2.second->lockState()->isLocked());
}
@@ -263,9 +261,8 @@ TEST_F(CatalogRAIITestFixture, AutoGetCollectionLockFreeCompatibleWithRSTLExclus
ASSERT(client1.second->lockState()->isRSTLExclusive());
AutoGetCollectionLockFree coll(
- client2.second.get(),
- nss,
- [](std::shared_ptr<const Collection>&, OperationContext*, CollectionUUID) {});
+ client2.second.get(), nss, [](std::shared_ptr<const Collection>&, OperationContext*, UUID) {
+ });
ASSERT(client2.second->lockState()->isLocked());
}