summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shardingtest.js
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2016-02-22 19:13:57 -0500
committerSpencer T Brody <spencer@mongodb.com>2016-02-23 11:07:27 -0500
commitfec174d567388fdd7074d037d1bfa6207ce39e9c (patch)
treefd3f465999d0e0809b4cc3ab139852747deb5965 /src/mongo/shell/shardingtest.js
parentafe28af4712e99f93f8772fe0cfa156d62e18dfb (diff)
downloadmongo-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.js2
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);