summaryrefslogtreecommitdiff
path: root/jstests/core/views/views_creation.js
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2018-08-27 13:06:38 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2018-08-29 16:47:09 -0400
commit4cb0742947dabee476c9979cae39c728a21568d5 (patch)
tree8ec6baacaab48a11b20eae4781f32be1bdad6ec2 /jstests/core/views/views_creation.js
parentaa36a9e8ad8c98e828f1b53966672b368d973380 (diff)
downloadmongo-4cb0742947dabee476c9979cae39c728a21568d5.tar.gz
SERVER-36015 Remove references to system.namespaces and system.indexes
Diffstat (limited to 'jstests/core/views/views_creation.js')
-rw-r--r--jstests/core/views/views_creation.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/jstests/core/views/views_creation.js b/jstests/core/views/views_creation.js
index 7fd2686dff5..68c896118a5 100644
--- a/jstests/core/views/views_creation.js
+++ b/jstests/core/views/views_creation.js
@@ -20,11 +20,6 @@
ErrorCodes.InvalidNamespace,
"Created an illegal view named 'system.views'");
- assert.commandFailedWithCode(
- viewsDB.runCommand({create: "system.indexes", viewOn: "collection"}),
- ErrorCodes.InvalidNamespace,
- "Created an illegal view named 'system.indexes'");
-
// Collections that start with 'system.' that are not special to MongoDB fail with a different
// error code.
assert.commandFailedWithCode(viewsDB.runCommand({create: "system.foo", viewOn: "collection"}),