jstests/noPassthrough/sbe_plan_cache_key_reporting.js
// Calls 'setupCollection' before each run.
Calls 'setupCollection' before each run.
Calls ' setupCollection ' before each run .
function runTestAgainstSbeAndClassicEngines(testToRun) {
    return ["sbe", "classic"].map((engine) => {
        setupCollection();
        assert.commandWorked(db.adminCommand(
            {setParameter: 1, internalQueryForceClassicEngine: engine == "classic"}));
        return testToRun(engine);
    });
}
function runTestAgainstSbeAndClassicEngines ( testToRun ) { return [ "sbe" , "classic" ] . map ( ( engine ) => { setupCollection ( ) ; assert . commandWorked ( db . adminCommand ( { setParameter : 1 , internalQueryForceClassicEngine : engine == "classic" } ) ) ; return testToRun ( engine ) ; } ) ; }
Calls 'setupCollection' before each run.
Calls ' setupCollection ' before each run .