summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/bigcouch
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-09-17 11:44:17 +0200
committervarac <varacanero@zeromail.org>2014-09-17 11:44:17 +0200
commitd6c078f4beecefe42c971cc5802e79f42396ebab (patch)
tree8d5042b7cce0679b8d8f8e6378757022c6abafbd /puppet/modules/site_couchdb/manifests/bigcouch
parent171fc59783a10dc341c435f47313271b89a12c0d (diff)
Increase wait-for-couch timeout (Bug #3735)
Site_couchdb::Bigcouch::Settle_cluster/Exec[wait_for_couch_nodes] waits 60s for all nodes to be member of the cluster. Because we deploy to multiple nodes in parallel, not all nodes are ready at the same time, so we increased the timeout from 60s to 120s.
Diffstat (limited to 'puppet/modules/site_couchdb/manifests/bigcouch')
-rw-r--r--puppet/modules/site_couchdb/manifests/bigcouch/settle_cluster.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_couchdb/manifests/bigcouch/settle_cluster.pp b/puppet/modules/site_couchdb/manifests/bigcouch/settle_cluster.pp
index aa843e2e..820b5be2 100644
--- a/puppet/modules/site_couchdb/manifests/bigcouch/settle_cluster.pp
+++ b/puppet/modules/site_couchdb/manifests/bigcouch/settle_cluster.pp
@@ -1,11 +1,11 @@
class site_couchdb::bigcouch::settle_cluster {
exec { 'wait_for_couch_nodes':
- command => '/srv/leap/bin/run_tests --test CouchDB/Are_configured_nodes_online? --retry 6 --wait 10'
+ command => '/srv/leap/bin/run_tests --test CouchDB/Are_configured_nodes_online? --retry 12 --wait 10'
}
exec { 'settle_cluster_membership':
- command => '/srv/leap/bin/run_tests --test CouchDB/Is_cluster_membership_ok? --retry 6 --wait 10',
+ command => '/srv/leap/bin/run_tests --test CouchDB/Is_cluster_membership_ok? --retry 12 --wait 10',
require => Exec['wait_for_couch_nodes']
}
}