summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough
diff options
context:
space:
mode:
authorAdityavardhan Agrawal <adi.agrawal@mongodb.com>2021-06-28 21:10:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-30 16:43:47 +0000
commit94899d793452409b358c09b3006c2c438eb3fcdd (patch)
treec383ac1263eee3c04405594efb13127bdd469358 /jstests/noPassthrough
parent4576bcaa48e5b919cb013f47c632310865ba2c54 (diff)
downloadmongo-94899d793452409b358c09b3006c2c438eb3fcdd.tar.gz
SERVER-57493 Remove requires_find_command jstest tag
Diffstat (limited to 'jstests/noPassthrough')
-rw-r--r--jstests/noPassthrough/change_streams_oplog_rollover.js1
-rw-r--r--jstests/noPassthrough/change_streams_update_lookup_collation.js6
-rw-r--r--jstests/noPassthrough/collmod_ttl.js1
-rw-r--r--jstests/noPassthrough/external_sort_find.js6
-rw-r--r--jstests/noPassthrough/non_multikey_ixscan_on_path_with_positional_component.js4
-rw-r--r--jstests/noPassthrough/oplog_rollover_agg.js1
-rw-r--r--jstests/noPassthrough/resume_query_survives_restart.js4
-rw-r--r--jstests/noPassthrough/timeseries_collStats.js7
-rw-r--r--jstests/noPassthrough/timeseries_downgrade_fcv.js3
-rw-r--r--jstests/noPassthrough/timeseries_latency_stats.js9
-rw-r--r--jstests/noPassthrough/timeseries_ttl.js1
-rw-r--r--jstests/noPassthrough/update_now_clustertime_replset.js5
-rw-r--r--jstests/noPassthrough/update_now_clustertime_sharding.js2
13 files changed, 18 insertions, 32 deletions
diff --git a/jstests/noPassthrough/change_streams_oplog_rollover.js b/jstests/noPassthrough/change_streams_oplog_rollover.js
index 29bb2a15e42..b684fa6791d 100644
--- a/jstests/noPassthrough/change_streams_oplog_rollover.js
+++ b/jstests/noPassthrough/change_streams_oplog_rollover.js
@@ -1,6 +1,5 @@
// Tests the behaviour of change streams on an oplog which rolls over.
// @tags: [
-// requires_find_command,
// requires_journaling,
// requires_majority_read_concern,
// uses_change_streams,
diff --git a/jstests/noPassthrough/change_streams_update_lookup_collation.js b/jstests/noPassthrough/change_streams_update_lookup_collation.js
index bb38213093a..dff1cf7c07e 100644
--- a/jstests/noPassthrough/change_streams_update_lookup_collation.js
+++ b/jstests/noPassthrough/change_streams_update_lookup_collation.js
@@ -1,8 +1,10 @@
// Tests that the update lookup of an unsharded change stream will use the collection-default
// collation, regardless of the collation on the change stream.
//
-// Collation is only supported with the find command, not with op query.
-// @tags: [requires_find_command, uses_change_streams, requires_majority_read_concern]
+// @tags: [
+// requires_majority_read_concern,
+// uses_change_streams,
+// ]
(function() {
"use strict";
diff --git a/jstests/noPassthrough/collmod_ttl.js b/jstests/noPassthrough/collmod_ttl.js
index 58b29ce4c35..f68e43b67b5 100644
--- a/jstests/noPassthrough/collmod_ttl.js
+++ b/jstests/noPassthrough/collmod_ttl.js
@@ -5,7 +5,6 @@
* @tags: [
* assumes_no_implicit_collection_creation_after_drop,
* multiversion_incompatible,
- * requires_find_command,
* requires_ttl_index,
* ]
*/
diff --git a/jstests/noPassthrough/external_sort_find.js b/jstests/noPassthrough/external_sort_find.js
index 9e37aee99be..d9e13603290 100644
--- a/jstests/noPassthrough/external_sort_find.js
+++ b/jstests/noPassthrough/external_sort_find.js
@@ -1,12 +1,6 @@
/**
* Test that the find command can spill to disk while executing a blocking sort, if the client
* explicitly allows disk usage.
- *
- * Must be run with read commands enabled, since legacy OP_QUERY reads do not support the
- * 'allowDiskUse' parameter.
- * @tags: [
- * requires_find_command,
- * ]
*/
(function() {
"use strict";
diff --git a/jstests/noPassthrough/non_multikey_ixscan_on_path_with_positional_component.js b/jstests/noPassthrough/non_multikey_ixscan_on_path_with_positional_component.js
index 57daeb1dcbf..189808a3161 100644
--- a/jstests/noPassthrough/non_multikey_ixscan_on_path_with_positional_component.js
+++ b/jstests/noPassthrough/non_multikey_ixscan_on_path_with_positional_component.js
@@ -1,10 +1,6 @@
/**
* Tests that we can execute a query which survived a yield using an index scan on a path containing
* a positional component. This test was designed to reproduce SERVER-52589.
- *
- * @tags: [
- * requires_find_command,
- * ]
*/
(function() {
"use strict";
diff --git a/jstests/noPassthrough/oplog_rollover_agg.js b/jstests/noPassthrough/oplog_rollover_agg.js
index 56a77ffcd6f..447a8b72e1e 100644
--- a/jstests/noPassthrough/oplog_rollover_agg.js
+++ b/jstests/noPassthrough/oplog_rollover_agg.js
@@ -1,6 +1,5 @@
// Tests the behaviour of an agg with $_requestReshardingResumeToken on an oplog which rolls over.
// @tags: [
-// requires_find_command,
// requires_journaling,
// requires_majority_read_concern,
// ]
diff --git a/jstests/noPassthrough/resume_query_survives_restart.js b/jstests/noPassthrough/resume_query_survives_restart.js
index 69101f10680..e4558dc6337 100644
--- a/jstests/noPassthrough/resume_query_survives_restart.js
+++ b/jstests/noPassthrough/resume_query_survives_restart.js
@@ -2,7 +2,9 @@
* Test that we can use the $_resumeAfter and $_requestResumeToken options to resume a query
* even after the node has been restarted.
*
- * @tags: [requires_find_command,requires_persistence]
+ * @tags: [
+ * requires_persistence,
+ * ]
*/
(function() {
diff --git a/jstests/noPassthrough/timeseries_collStats.js b/jstests/noPassthrough/timeseries_collStats.js
index 62035e56d20..00d3ea90c71 100644
--- a/jstests/noPassthrough/timeseries_collStats.js
+++ b/jstests/noPassthrough/timeseries_collStats.js
@@ -3,10 +3,9 @@
* time-series collections.
*
* @tags: [
- * does_not_support_stepdowns,
- * requires_fcv_49,
- * requires_find_command,
- * requires_getmore,
+ * does_not_support_stepdowns,
+ * requires_fcv_49,
+ * requires_getmore,
* ]
*/
(function() {
diff --git a/jstests/noPassthrough/timeseries_downgrade_fcv.js b/jstests/noPassthrough/timeseries_downgrade_fcv.js
index 23af01b2ff2..f128320fe1b 100644
--- a/jstests/noPassthrough/timeseries_downgrade_fcv.js
+++ b/jstests/noPassthrough/timeseries_downgrade_fcv.js
@@ -5,8 +5,7 @@
* TODO (SERVER-56171): Remove this test once 5.0 is last-lts.
*
* @tags: [
- * requires_fcv_49,
- * requires_find_command,
+ * requires_fcv_49,
* ]
*/
(function() {
diff --git a/jstests/noPassthrough/timeseries_latency_stats.js b/jstests/noPassthrough/timeseries_latency_stats.js
index 45080d45c7e..23cb8428c11 100644
--- a/jstests/noPassthrough/timeseries_latency_stats.js
+++ b/jstests/noPassthrough/timeseries_latency_stats.js
@@ -2,11 +2,10 @@
* Tests inserting sample data into the time-series buckets collection.
* This test is for the simple case of only one measurement per bucket.
* @tags: [
- * assumes_no_implicit_collection_creation_after_drop,
- * does_not_support_stepdowns,
- * requires_fcv_49,
- * requires_find_command,
- * requires_getmore,
+ * assumes_no_implicit_collection_creation_after_drop,
+ * does_not_support_stepdowns,
+ * requires_fcv_49,
+ * requires_getmore,
* ]
*/
(function() {
diff --git a/jstests/noPassthrough/timeseries_ttl.js b/jstests/noPassthrough/timeseries_ttl.js
index c43b2f2a034..00fdfbe738e 100644
--- a/jstests/noPassthrough/timeseries_ttl.js
+++ b/jstests/noPassthrough/timeseries_ttl.js
@@ -6,7 +6,6 @@
* assumes_no_implicit_collection_creation_after_drop,
* does_not_support_stepdowns,
* requires_fcv_49,
- * requires_find_command,
* requires_getmore,
* ]
*/
diff --git a/jstests/noPassthrough/update_now_clustertime_replset.js b/jstests/noPassthrough/update_now_clustertime_replset.js
index fe3db8e4512..ca530b8ecdc 100644
--- a/jstests/noPassthrough/update_now_clustertime_replset.js
+++ b/jstests/noPassthrough/update_now_clustertime_replset.js
@@ -2,10 +2,11 @@
* Tests that the $$NOW and $$CLUSTER_TIME system variables can be used when performing updates on a
* replica set.
*
- * Tag this test as 'requires_find_command' to prevent it from running in the legacy passthroughs.
* The 'requires_replication' tag prevents the test from running on variants with storage options
* which cannot support a replica set.
- * @tags: [requires_find_command, requires_replication]
+ * @tags: [
+ * requires_replication,
+ * ]
*/
(function() {
"use strict";
diff --git a/jstests/noPassthrough/update_now_clustertime_sharding.js b/jstests/noPassthrough/update_now_clustertime_sharding.js
index 136621e6fa7..526da0df1b2 100644
--- a/jstests/noPassthrough/update_now_clustertime_sharding.js
+++ b/jstests/noPassthrough/update_now_clustertime_sharding.js
@@ -2,11 +2,9 @@
* Tests that the $$NOW and $$CLUSTER_TIME system variables can be used when performing updates on a
* sharded cluster.
*
- * Tag this test as 'requires_find_command' to prevent it from running in the legacy passthroughs.
* The 'requires_sharding' tag prevents the test from running on variants with storage options which
* cannot support a sharded cluster.
* @tags: [
- * requires_find_command,
* requires_sharding,
* ]
*/