summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/query_engine_stats.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/query_engine_stats.js')
-rw-r--r--jstests/noPassthrough/query_engine_stats.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/noPassthrough/query_engine_stats.js b/jstests/noPassthrough/query_engine_stats.js
index 492b4792efe..3e6b0ebe938 100644
--- a/jstests/noPassthrough/query_engine_stats.js
+++ b/jstests/noPassthrough/query_engine_stats.js
@@ -107,7 +107,8 @@ function compareQueryEngineCounters(expectedCounters) {
}
// Start with SBE off.
-assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryForceClassicEngine: true}));
+assert.commandWorked(
+ db.adminCommand({setParameter: 1, internalQueryEnableSlotBasedExecutionEngine: false}));
// Run a find command.
let expectedCounters = generateExpectedCounters(engine.find.classic);
@@ -142,7 +143,8 @@ compareQueryEngineCounters(expectedCounters);
verifyProfiler(queryComment, engine.find.classic);
// Turn SBE on.
-assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryForceClassicEngine: false}));
+assert.commandWorked(
+ db.adminCommand({setParameter: 1, internalQueryEnableSlotBasedExecutionEngine: true}));
// Run a find command.
expectedCounters = generateExpectedCounters(engine.find.sbe);