summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorJames Wahlin <james.wahlin@10gen.com>2017-03-09 17:23:22 -0500
committerJames Wahlin <james.wahlin@10gen.com>2017-03-13 08:25:50 -0400
commitba3db7220399aedbb871aa8a18d325a877c30d53 (patch)
treec776e4e1d1c90f96ef8d027e830e9a0aa9d26926 /jstests
parentb890af7de045d1d91b01f90a453d81fc6631b29d (diff)
downloadmongo-ba3db7220399aedbb871aa8a18d325a877c30d53.tar.gz
SERVER-28121 DurableViewCatalog shouldn't throw on null byte in view ns
Diffstat (limited to 'jstests')
-rw-r--r--jstests/core/views/invalid_system_views.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/core/views/invalid_system_views.js b/jstests/core/views/invalid_system_views.js
index 741d835a58a..b4610198f48 100644
--- a/jstests/core/views/invalid_system_views.js
+++ b/jstests/core/views/invalid_system_views.js
@@ -114,6 +114,7 @@
{_id: "badViewArrayWithEmptyObjectPipeline", pipeline: [{}]},
{_id: "badViewArrayWithEmptyArrayPipeline", pipeline: [[]]},
{_id: 7, pipeline: []},
+ {_id: "invalid_system_views.embedded\0null", viewOn: "collection", pipeline: []}
];
badViews.forEach(runTest);
}());