jstests/noPassthrough/awaitable_hello.js
// Check that the command appears in the slow query log if it's unexpectedly slow.
Check that the command appears in the slow query log if it's unexpectedly slow.
Check that the command appears in the slow query log if it ' s unexpectedly slow .
function runHelloCommand(cmd, topologyVersionField) {
        assert.commandWorked(
            db.runCommand({[cmd]: 1, topologyVersion: topologyVersionField, maxAwaitTimeMS: 1}));
        jsTestLog(`${cmd} completed in parallel shell`);
    }
function runHelloCommand ( cmd , topologyVersionField ) { assert . commandWorked ( db . runCommand ( { [ cmd ] : 1 , topologyVersion : topologyVersionField , maxAwaitTimeMS : 1 } ) ) ; jsTestLog ( ` ${ cmd } ` ) ; }
Check that the command appears in the slow query log if it's unexpectedly slow.
Check that the command appears in the slow query log if it ' s unexpectedly slow .