summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_writer_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_writer_test.cpp')
-rw-r--r--src/mongo/db/catalog/collection_writer_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/collection_writer_test.cpp b/src/mongo/db/catalog/collection_writer_test.cpp
index a5aad697d59..121afe9b89d 100644
--- a/src/mongo/db/catalog/collection_writer_test.cpp
+++ b/src/mongo/db/catalog/collection_writer_test.cpp
@@ -58,7 +58,8 @@ protected:
std::shared_ptr<Collection> collection = std::make_shared<CollectionMock>(kNss);
CollectionCatalog::write(getServiceContext(), [&](CollectionCatalog& catalog) {
- catalog.registerCollection(operationContext(), UUID::gen(), std::move(collection));
+ catalog.registerCollection(
+ operationContext(), UUID::gen(), std::move(collection), /*ts=*/boost::none);
});
}
@@ -255,7 +256,8 @@ public:
catalog.registerCollection(operationContext(),
UUID::gen(),
std::make_shared<CollectionMock>(
- NamespaceString("many", fmt::format("coll{}", i))));
+ NamespaceString("many", fmt::format("coll{}", i))),
+ /*ts=*/boost::none);
}
});
}