summaryrefslogtreecommitdiff
path: root/src/mongo/db/free_mon/free_mon_controller_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/free_mon/free_mon_controller_test.cpp')
-rw-r--r--src/mongo/db/free_mon/free_mon_controller_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/free_mon/free_mon_controller_test.cpp b/src/mongo/db/free_mon/free_mon_controller_test.cpp
index cd8740054c2..92b2bbb9b59 100644
--- a/src/mongo/db/free_mon/free_mon_controller_test.cpp
+++ b/src/mongo/db/free_mon/free_mon_controller_test.cpp
@@ -435,7 +435,9 @@ void FreeMonControllerTest::setUp() {
collectionOptions.uuid = UUID::gen();
auto statusCC = repl::StorageInterface::get(service)->createCollection(
- _opCtx.get(), NamespaceString("admin", "system.version"), collectionOptions);
+ _opCtx.get(),
+ NamespaceString::createNamespaceString_forTest("admin", "system.version"),
+ collectionOptions);
ASSERT_OK(statusCC);
}