diff options
author | Spencer T Brody <spencer@mongodb.com> | 2016-02-22 19:13:57 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2016-02-23 11:07:27 -0500 |
commit | fec174d567388fdd7074d037d1bfa6207ce39e9c (patch) | |
tree | fd3f465999d0e0809b4cc3ab139852747deb5965 /src/mongo/shell/shardingtest.js | |
parent | afe28af4712e99f93f8772fe0cfa156d62e18dfb (diff) | |
download | mongo-fec174d567388fdd7074d037d1bfa6207ce39e9c.tar.gz |
SERVER-22803 Increase timeout for ShardingTest.{stop/start}Balancer
Diffstat (limited to 'src/mongo/shell/shardingtest.js')
-rw-r--r-- | src/mongo/shell/shardingtest.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js index 7e5ded35ca6..cc8af873619 100644 --- a/src/mongo/shell/shardingtest.js +++ b/src/mongo/shell/shardingtest.js @@ -584,6 +584,7 @@ var ShardingTest = function(params) { var oldDB = db; db = this.config; + timeout = timeout || 60000; try { sh.setBalancerState(false); @@ -601,6 +602,7 @@ var ShardingTest = function(params) { var oldDB = db; db = this.config; + timeout = timeout || 60000; try { sh.setBalancerState(true); |