summaryrefslogtreecommitdiff
path: root/jstests/core/introspect_hidden_index_plan_cache_entries.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/introspect_hidden_index_plan_cache_entries.js')
-rw-r--r--jstests/core/introspect_hidden_index_plan_cache_entries.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/core/introspect_hidden_index_plan_cache_entries.js b/jstests/core/introspect_hidden_index_plan_cache_entries.js
index 91645f46b5b..1af13d32d41 100644
--- a/jstests/core/introspect_hidden_index_plan_cache_entries.js
+++ b/jstests/core/introspect_hidden_index_plan_cache_entries.js
@@ -13,6 +13,12 @@
(function() {
'use strict';
+load("jstests/libs/sbe_util.js"); // For checkSBEEnabled.
+
+if (checkSBEEnabled(db, ["featureFlagSbePlanCache"])) {
+ jsTest.log("Skipping test because SBE and SBE plan cache are both enabled.");
+ return;
+}
const collName = 'introspect_hidden_index_plan_cache_entries';
const collNotAffectedName = 'introspect_hidden_index_plan_cache_entries_unaffected';