summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/process_interface/shardsvr_process_interface_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/process_interface/shardsvr_process_interface_test.cpp')
-rw-r--r--src/mongo/db/pipeline/process_interface/shardsvr_process_interface_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/process_interface/shardsvr_process_interface_test.cpp b/src/mongo/db/pipeline/process_interface/shardsvr_process_interface_test.cpp
index 5c3f7eebf97..3a457d8112d 100644
--- a/src/mongo/db/pipeline/process_interface/shardsvr_process_interface_test.cpp
+++ b/src/mongo/db/pipeline/process_interface/shardsvr_process_interface_test.cpp
@@ -46,7 +46,8 @@ TEST_F(ShardedProcessInterfaceTest, TestInsert) {
// Need a real locker for storage operations.
getClient()->swapLockState(std::make_unique<LockerImpl>(expCtx()->opCtx->getServiceContext()));
- const NamespaceString kOutNss = NamespaceString{"unittests-out", "sharded_agg_test"};
+ const NamespaceString kOutNss =
+ NamespaceString::createNamespaceString_forTest("unittests-out", "sharded_agg_test");
auto outStage = DocumentSourceOut::create(kOutNss, expCtx());
// Attach a write concern, and make sure it is forwarded below.