diff options
Diffstat (limited to 'jstests/sharding/localhostAuthBypass.js')
-rw-r--r-- | jstests/sharding/localhostAuthBypass.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/localhostAuthBypass.js b/jstests/sharding/localhostAuthBypass.js index c9bb7bfdde6..857b33fad9e 100644 --- a/jstests/sharding/localhostAuthBypass.js +++ b/jstests/sharding/localhostAuthBypass.js @@ -36,7 +36,7 @@ var addShard = function(st, shouldPass) { var findEmptyShard = function(st, ns) { - var counts = st.chunkCounts( "foo" ) + var counts = st.chunkCounts( "foo" ); for(shard in counts){ if(counts[shard] == 0) { @@ -258,6 +258,6 @@ var runTest = function() { extraShards.forEach(function(sh) { MongoRunner.stopMongod(sh); }); -} +}; runTest(); |