summaryrefslogtreecommitdiff
path: root/jstests/core/wildcard_index_covered_queries.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/wildcard_index_covered_queries.js')
-rw-r--r--jstests/core/wildcard_index_covered_queries.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/jstests/core/wildcard_index_covered_queries.js b/jstests/core/wildcard_index_covered_queries.js
index 233bb70d953..366109a2c9a 100644
--- a/jstests/core/wildcard_index_covered_queries.js
+++ b/jstests/core/wildcard_index_covered_queries.js
@@ -5,7 +5,12 @@
* covered unless they include the shard key. Does not support stepdowns because the test issues
* getMores, which the stepdown/kill_primary passthroughs will reject.
*
- * @tags: [assumes_unsharded_collection, does_not_support_stepdowns]
+ * @tags: [assumes_unsharded_collection,
+ * does_not_support_stepdowns,
+ * # This test attempts to project a $-prefixed field name ("$_path") which was allowed in
+ * # 4.2 but banned in 4.4. This test checks that the aforementioned case will throw an
+ * # error.
+ * requires_fcv_44]
*/
(function() {
"use strict";