Increase wait timeout for contrail-api
Change-Id: If38fbb8c4f28bfec452940e0022cbc7a29cced49
Related-PROD: PROD-26946
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index e48b888..5f2700a 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -567,7 +567,7 @@
def common = new com.mirantis.mk.Common()
def salt = new com.mirantis.mk.Salt()
- def apiCheckResult = salt.getReturnValues(salt.runSaltProcessStep(master, "I@opencontrail:control:role:primary ${extra_tgt}", 'contrail_health.get_api_status', ['wait_for=300', 'tries=20']))
+ def apiCheckResult = salt.getReturnValues(salt.runSaltProcessStep(master, "I@opencontrail:control:role:primary ${extra_tgt}", 'contrail_health.get_api_status', ['wait_for=900', 'tries=50']))
if (!apiCheckResult){
throw new Exception("Contrail is not working after deployment: contrail-api service is not in healthy state")
} else {