diff options
Diffstat (limited to 'jstests/sharding/mrShardedOutputAuth.js')
-rw-r--r-- | jstests/sharding/mrShardedOutputAuth.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/sharding/mrShardedOutputAuth.js b/jstests/sharding/mrShardedOutputAuth.js index abec3aa607f..f406794aceb 100644 --- a/jstests/sharding/mrShardedOutputAuth.js +++ b/jstests/sharding/mrShardedOutputAuth.js @@ -19,6 +19,7 @@ adminDb.createUser({user: "user", pwd: "pass", roles: jsTest.adminUserRoles}); const authenticatedConn = new Mongo(mongos.host); authenticatedConn.getDB('admin').auth("user", "pass"); adminDb = authenticatedConn.getDB("admin"); +assert.commandWorked(adminDb.adminCommand({enablesharding: "output"})); const configDb = authenticatedConn.getDB("config"); |