summaryrefslogtreecommitdiff
path: root/jstests/core/insert_id_undefined.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/insert_id_undefined.js')
-rw-r--r--jstests/core/insert_id_undefined.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/core/insert_id_undefined.js b/jstests/core/insert_id_undefined.js
index 874d6c0228c..5dc2c9a6862 100644
--- a/jstests/core/insert_id_undefined.js
+++ b/jstests/core/insert_id_undefined.js
@@ -1,3 +1,7 @@
+// Cannot implicitly shard accessed collections because of collection existing when none
+// expected.
+// @tags: [assumes_no_implicit_collection_creation_after_drop]
+
// ensure a document with _id undefined cannot be saved
t = db.insert_id_undefined;
t.drop();