summaryrefslogtreecommitdiff
path: root/src/mongo/s/stale_exception_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/stale_exception_test.cpp')
-rw-r--r--src/mongo/s/stale_exception_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/stale_exception_test.cpp b/src/mongo/s/stale_exception_test.cpp
index 1e92988516d..35564248140 100644
--- a/src/mongo/s/stale_exception_test.cpp
+++ b/src/mongo/s/stale_exception_test.cpp
@@ -33,7 +33,7 @@
namespace mongo {
namespace {
-const NamespaceString kNss("test.nss");
+const NamespaceString kNss = NamespaceString::createNamespaceString_forTest("test.nss");
TEST(StaleExceptionTest, StaleConfigInfoSerializationTest) {
const ShardId kShardId("SHARD_ID");