ci: Increase readiness timeout to 5m

It takes longer for Kibana to start with every major release. Increase
this timeout in anticipation for the v8.0.0 release.
This commit is contained in:
Antoine Cotten 2021-08-23 12:06:26 +02:00
parent 05768d135e
commit 57298791e0
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ function poll_ready {
local -i result=1
local output
# retry for max 180s (36*5s)
for _ in $(seq 1 36); do
# retry for max 300s (60*5s)
for _ in $(seq 1 60); do
if [[ $(docker container inspect "$cid" --format '{{ .State.Status}}') == 'exited' ]]; then
err "Container exited ($(docker container inspect "$cid" --format '{{ .Name }}'))"
return 1