summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorJenny Peshansky <jenny.peshansky@mongodb.com>2021-05-06 10:53:44 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-07 18:31:22 +0000
commitfabe65934a353bbdd8c13c1efd0f2e064259debb (patch)
treee8b9e8d96c85618d5d9e1397654dec80983722ae /src/mongo/dbtests
parentbce8de3a989d7b5aeb1c1145099298bd81a5c9bb (diff)
downloadmongo-fabe65934a353bbdd8c13c1efd0f2e064259debb.tar.gz
SERVER-55163 Add runtime-configurable setParameter for turning SBE on and off
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/query_stage_multiplan.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/dbtests/query_stage_multiplan.cpp b/src/mongo/dbtests/query_stage_multiplan.cpp
index edd261b21af..bb47733e27e 100644
--- a/src/mongo/dbtests/query_stage_multiplan.cpp
+++ b/src/mongo/dbtests/query_stage_multiplan.cpp
@@ -58,6 +58,7 @@
#include "mongo/db/query/query_planner_test_lib.h"
#include "mongo/db/query/stage_builder_util.h"
#include "mongo/dbtests/dbtests.h"
+#include "mongo/idl/server_parameter_test_util.h"
#include "mongo/util/clock_source_mock.h"
namespace mongo {
@@ -550,12 +551,7 @@ TEST_F(QueryStageMultiPlanTest, MPSExplainAllPlans) {
//
// This is a regression test for SERVER-20111.
TEST_F(QueryStageMultiPlanTest, MPSSummaryStats) {
- // Bail out and do not run the tests if using the SBE engine.
- // TODO: SERVER-55163 once the feature flag is removed we should use the query configuration
- // knob to force the use of classic engine.
- if (feature_flags::gSBE.isEnabledAndIgnoreFCV()) {
- return;
- }
+ RAIIServerParameterControllerForTest controller("internalQueryForceClassicEngine", true);
const int N = 5000;
for (int i = 0; i < N; ++i) {