summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2022-01-24 14:46:30 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-24 19:30:18 +0000
commit6a4628b52a227e1100df8facb3a048c972debfb1 (patch)
treeda3521a0cbd79e6be0b31523529079bc01c5650a /jstests
parent9468bd87d8fc238189e4b01cc7313d84532028bf (diff)
downloadmongo-6a4628b52a227e1100df8facb3a048c972debfb1.tar.gz
SERVER-62829 Prevent query_hash_stability.js from running in downgrade passthroughs
(cherry picked from commit 9343d1633ab6dfa162dc494e13152d13c40fb1a2)
Diffstat (limited to 'jstests')
-rw-r--r--jstests/core/query_hash_stability.js4
1 files changed, 4 insertions, 0 deletions
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() {