summaryrefslogtreecommitdiff
path: root/jstests/core/explain2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/explain2.js')
-rw-r--r--jstests/core/explain2.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/jstests/core/explain2.js b/jstests/core/explain2.js
index ec9a79b16c8..930a2ffb037 100644
--- a/jstests/core/explain2.js
+++ b/jstests/core/explain2.js
@@ -1,7 +1,12 @@
// Test calculation of the 'millis' field in explain output.
// This test makes assertions on how long a particular query will sleep. When the collection is
// sharded each shard may sleep for less time than is expected.
-// @tags: [assumes_unsharded_collection]
+// @tags: [
+// assumes_unsharded_collection,
+//
+// # Uses $where operator
+// requires_scripting,
+// ]
t = db.jstests_explain2;
t.drop();