summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/core/fts_find_and_modify.js11
1 files changed, 8 insertions, 3 deletions
diff --git a/jstests/core/fts_find_and_modify.js b/jstests/core/fts_find_and_modify.js
index 5fe0183fff7..8725337ba26 100644
--- a/jstests/core/fts_find_and_modify.js
+++ b/jstests/core/fts_find_and_modify.js
@@ -1,9 +1,14 @@
/**
* Test that findAndModify works with $text search predicates.
*
- * Cannot run when collections are implicitly sharded, since findAndModify requires the query
- * predicate to contain the shard key.
- * @tags: [assumes_unsharded_collection]
+ * @tags: [
+ * # Cannot run when collections are implicitly sharded, since findAndModify requires the query
+ * # predicate to contain the shard key.
+ * assumes_unsharded_collection,
+ * # We chose not to backport the bug fix for $text + findAndModify to the 4.4 branch, so all
+ * # nodes must be at least binary version 4.6.
+ * requires_fcv_46,
+ * ]
*/
(function() {
"use strict";