diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-06-23 15:23:36 -0400 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-06-24 20:20:56 -0400 |
commit | b4449789236d69805bad9511d15e288bebaa9d95 (patch) | |
tree | 7447cdacc4e1f4897bf0034261f3d9382023b191 /src/mongo/db/repl/storage_interface_impl_test.cpp | |
parent | b855e5562dbf2404a7857c110dbb39b451bf13f3 (diff) | |
download | mongo-b4449789236d69805bad9511d15e288bebaa9d95.tar.gz |
SERVER-41694 Remove the restriction on collection name length
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl_test.cpp')
-rw-r--r-- | src/mongo/db/repl/storage_interface_impl_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl_test.cpp b/src/mongo/db/repl/storage_interface_impl_test.cpp index 248142c5bc6..56b2b97c2ea 100644 --- a/src/mongo/db/repl/storage_interface_impl_test.cpp +++ b/src/mongo/db/repl/storage_interface_impl_test.cpp @@ -82,8 +82,7 @@ BSONObj makeIdIndexSpec(const NamespaceString& nss) { */ template <typename T> NamespaceString makeNamespace(const T& t, const std::string& suffix = "") { - return NamespaceString(std::string("local." + t.getSuiteName() + "_" + t.getTestName()) - .substr(0, NamespaceString::MaxNsCollectionLen - suffix.length()) + + return NamespaceString(std::string("local." + t.getSuiteName() + "_" + t.getTestName()) + suffix); } |