summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2017-07-12 09:22:58 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2017-07-12 09:22:58 -0400
commit02c46a3d4b270530335f542ad2926c50f1ba1b1f (patch)
tree9d8955d1077f529e9567da8f62d5aa07bddff652 /jstests/auth
parentc92d85fea435f64aedec07a2b42cbc16833ede82 (diff)
downloadmongo-02c46a3d4b270530335f542ad2926c50f1ba1b1f.tar.gz
SERVER-28495 FTDC for MongoS
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/lib/commands_lib.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js
index 701e8080f1d..d1e677af08b 100644
--- a/jstests/auth/lib/commands_lib.js
+++ b/jstests/auth/lib/commands_lib.js
@@ -2756,7 +2756,6 @@ var authCommandsLib = {
{
testname: "getDiagnosticData",
command: {getDiagnosticData: 1},
- skipSharded: true,
testcases: [
{
runOnDb: adminDbName,
@@ -2765,6 +2764,10 @@ var authCommandsLib = {
{resource: {cluster: true}, actions: ["serverStatus"]},
{resource: {cluster: true}, actions: ["replSetGetStatus"]},
{resource: {db: "local", collection: "oplog.rs"}, actions: ["collStats"]},
+ {
+ resource: {cluster: true},
+ actions: ["connPoolStats"]
+ }, // Only needed against mongos
]
},
{runOnDb: firstDbName, roles: {}},