diff options
author | Dan Pasette <dan@10gen.com> | 2014-11-01 14:04:56 -0400 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2014-11-01 14:04:56 -0400 |
commit | 1e31585822ec9066b43a0709cdb58fcfb49ca308 (patch) | |
tree | 0f7fec96332453bbbd00a1687df82b1a0ef93292 /jstests/auth | |
parent | d1ca324125e215237fd05e19507d83e5dfe4303d (diff) | |
download | mongo-1e31585822ec9066b43a0709cdb58fcfb49ca308.tar.gz |
SERVER-15870 fix up some tests depending on unpruned serverStatus
Diffstat (limited to 'jstests/auth')
-rw-r--r-- | jstests/auth/user_defined_roles.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/user_defined_roles.js b/jstests/auth/user_defined_roles.js index 961e2be2aeb..50ab0c8acfc 100644 --- a/jstests/auth/user_defined_roles.js +++ b/jstests/auth/user_defined_roles.js @@ -123,7 +123,7 @@ function runTest(conn) { // Test privileges on the cluster resource - assert.commandFailed(testDB.serverStatus()); + assert.commandFailed(testDB.runCommand({serverStatus:1})); adminUserAdmin.grantPrivilegesToRole('adminRole', [{resource: {cluster: true}, actions:['serverStatus']}]); assert.commandWorked(testDB.serverStatus()); |