jstests/auth/deleted_recreated_user_base.js
// Perform administrative commands via separate shell.
Perform administrative commands via separate shell.
Perform administrative commands via separate shell .
function evalCmd(cmd) {
        const uri = 'mongodb://admin:pass@localhost:' + s1.port + '/admin';
        const result = runMongoProgram('mongo', uri, '--eval', cmd);
        assert.eq(result, 0, "Command failed");
    }
function evalCmd ( cmd ) { const uri = 'mongodb://admin:pass@localhost:' + s1 . port + '/admin' ; const result = runMongoProgram ( 'mongo' , uri , '--eval' , cmd ) ; assert . eq ( result , 0 , "Command failed" ) ; }
Perform administrative commands via separate shell.
Perform administrative commands via separate shell .