diff options
author | Amalia Hawkins <amalia.hawkins@10gen.com> | 2014-04-21 18:43:25 -0400 |
---|---|---|
committer | Amalia Hawkins <amalia.hawkins@10gen.com> | 2014-05-22 20:29:39 -0400 |
commit | 1b4b52a9d413e145478a303b63ab760894938c80 (patch) | |
tree | 3286cdd06d688d4345a80215f84b4674a398b753 /jstests/sharding/auth2.js | |
parent | 7a85cae38fba537980d6c9fc573ef077fd2df74e (diff) | |
download | mongo-1b4b52a9d413e145478a303b63ab760894938c80.tar.gz |
SERVER-12621 narrow the localhost exception when auth is enabled
Diffstat (limited to 'jstests/sharding/auth2.js')
-rw-r--r-- | jstests/sharding/auth2.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/sharding/auth2.js b/jstests/sharding/auth2.js index 5dd8618ee26..51c2d9baa8d 100644 --- a/jstests/sharding/auth2.js +++ b/jstests/sharding/auth2.js @@ -2,8 +2,6 @@ var st = new ShardingTest({ keyFile : 'jstests/libs/key1', shards : 2, chunksize other : { nopreallocj : 1, verbose : 2, useHostname : true, configOptions : { verbose : 2 }}}); -st.printShardingStatus(); - var mongos = st.s; var adminDB = mongos.getDB('admin'); var db = mongos.getDB('test') @@ -19,4 +17,4 @@ for ( var i = 0; i < 100; i++ ) { assert( adminDB.auth('admin', 'password'), "Auth failed on attempt #: " + i ); } -st.stop();
\ No newline at end of file +st.stop(); |