jstests/noPassthrough/hello_feature_compatibility_version.js
// being closed on FCV changes.
being closed on FCV changes.
being closed on FCV changes .
function cmdAsInternalClient(cmd) {
    const command =
        {[cmd]: 1, internalClient: {minWireVersion: NumberInt(0), maxWireVersion: NumberInt(7)}};
    const connInternal = new Mongo(adminDB.getMongo().host);
    const res = assert.commandWorked(connInternal.adminCommand(command));
    connInternal.close();
    return res;
}
function cmdAsInternalClient ( cmd ) { const command = { [ cmd ] : 1 , internalClient : { minWireVersion : NumberInt ( 0 ) , maxWireVersion : NumberInt ( 7 ) } } ; const connInternal = new Mongo ( adminDB . getMongo ( ) . host ) ; const res = assert . commandWorked ( connInternal . adminCommand ( command ) ) ; connInternal . close ( ) ; return res ; }
being closed on FCV changes.
being closed on FCV changes .