summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/plan_cache_list_failed_plans.js
diff options
context:
space:
mode:
authorRuoxin Xu <ruoxin.xu@mongodb.com>2021-09-07 11:17:00 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-01 15:47:47 +0000
commitb72d07a8b0f1f5d5935ae039196e9cd6531b3406 (patch)
treeed6a4d37fc0cf3a294b9a0cab3060459c4819972 /jstests/noPassthrough/plan_cache_list_failed_plans.js
parentfc05532015895c8907437ea0c06fe83ab6c6f1dc (diff)
downloadmongo-b72d07a8b0f1f5d5935ae039196e9cd6531b3406.tar.gz
SERVER-59681 Start storing SBE plans in the new plan cache
Diffstat (limited to 'jstests/noPassthrough/plan_cache_list_failed_plans.js')
-rw-r--r--jstests/noPassthrough/plan_cache_list_failed_plans.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/noPassthrough/plan_cache_list_failed_plans.js b/jstests/noPassthrough/plan_cache_list_failed_plans.js
index 2fa5b641b2f..e1fb5161c71 100644
--- a/jstests/noPassthrough/plan_cache_list_failed_plans.js
+++ b/jstests/noPassthrough/plan_cache_list_failed_plans.js
@@ -10,6 +10,12 @@ const testDB = conn.getDB("jstests_plan_cache_list_failed_plans");
const coll = testDB.test;
const isSBEEnabled = checkSBEEnabled(testDB);
+if (checkSBEEnabled(testDB, ["featureFlagSbePlanCache"])) {
+ jsTest.log("Skipping test because SBE and SBE plan cache are both enabled.");
+ MongoRunner.stopMongod(conn);
+ return;
+}
+
coll.drop();
// Setup the database such that it will generate a failing plan and a succeeding plan.