summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildscripts/resmokeconfig/suites/change_streams_downgrade.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml3
-rw-r--r--jstests/core/query_hash_stability.js4
4 files changed, 13 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/change_streams_downgrade.yml b/buildscripts/resmokeconfig/suites/change_streams_downgrade.yml
index 3806c0577af..488019780b5 100644
--- a/buildscripts/resmokeconfig/suites/change_streams_downgrade.yml
+++ b/buildscripts/resmokeconfig/suites/change_streams_downgrade.yml
@@ -347,6 +347,9 @@ selector:
# Transaction-continuing commands must use the same API parameters as the first command, so tests
# that use API parameters cannot be run with transactions.
- uses_api_parameters
+ # Used for tests which can run in multiversion configurations but cannot run while a replica set
+ # or shard is being actively upgraded or downgraded.
+ - cannot_run_during_upgrade_downgrade
executor:
archive:
diff --git a/buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml b/buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml
index c19b4a2fdbd..2ccddb9eaa8 100644
--- a/buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml
+++ b/buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml
@@ -111,6 +111,9 @@ selector:
# operation and cluster times aren't shared between shells.
# "Cowardly refusing to run test with network retries enabled when it uses startParallelShell()"
- uses_parallel_shell
+ # Used for tests which can run in multiversion configurations but cannot run while a replica set
+ # or shard is being actively upgraded or downgraded.
+ - cannot_run_during_upgrade_downgrade
executor:
archive:
diff --git a/buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml b/buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml
index 453214ba77a..c577c6f464b 100644
--- a/buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml
+++ b/buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml
@@ -137,6 +137,9 @@ selector:
# operation and cluster times aren't shared between shells.
# "Cowardly refusing to run test with network retries enabled when it uses startParallelShell()"
- uses_parallel_shell
+ # Used for tests which can run in multiversion configurations but cannot run while a replica set
+ # or shard is being actively upgraded or downgraded.
+ - cannot_run_during_upgrade_downgrade
executor:
archive:
diff --git a/jstests/core/query_hash_stability.js b/jstests/core/query_hash_stability.js
index 2c2284a63c0..a83861908f9 100644
--- a/jstests/core/query_hash_stability.js
+++ b/jstests/core/query_hash_stability.js
@@ -4,6 +4,10 @@
* @tags: [
* assumes_read_concern_local,
* requires_fcv_51,
+ * # The test expects the plan cache key on a given node to remain stable. However, the plan
+ * # cache key is allowed to change between versions. Therefore, this test cannot run in
+ * # passthroughs that do upgrade/downgrade.
+ * cannot_run_during_upgrade_downgrade,
* ]
*/
(function() {