summaryrefslogtreecommitdiff
path: root/jstests/core/index3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/index3.js')
-rw-r--r--jstests/core/index3.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/jstests/core/index3.js b/jstests/core/index3.js
deleted file mode 100644
index cc5ad3b0796..00000000000
--- a/jstests/core/index3.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Cannot implicitly shard accessed collections because of extra shard key index in sharded
-// collection.
-// @tags: [assumes_no_implicit_index_creation]
-
-t = db.index3;
-t.drop();
-
-assert(t.getIndexes().length == 0);
-
-t.createIndex({name: 1});
-
-t.save({name: "a"});
-
-t.createIndex({name: 1});
-
-assert(t.getIndexes().length == 2);
-
-assert(t.validate().valid);