Increased retry for problematic elaticsearch enforcement in cicd deploy pipeline
Change-Id: I3cdb368aad3b41e6c682c915d0ced45b756f1978
diff --git a/cicd-lab-pipeline.groovy b/cicd-lab-pipeline.groovy
index 08279ba..4b7e74a 100644
--- a/cicd-lab-pipeline.groovy
+++ b/cicd-lab-pipeline.groovy
@@ -250,8 +250,8 @@
println 'Waiting for Elasticsearch to come up..'
salt.cmdRun(saltMaster, 'I@elasticsearch:client', 'while true; do curl -sf 172.16.10.254:9200 >/dev/null && break; done')
}
- retry(2){
- sleep(5)
+ retry(3){
+ sleep(10)
// XXX: first run sometimes fails on update indexes, so we need to wait
salt.enforceState(saltMaster, 'I@elasticsearch:client', 'elasticsearch.client', true)
}