From 57298791e0b5331739634bbf07a63ab9aaa5e75c Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Mon, 23 Aug 2021 12:06:26 +0200 Subject: [PATCH] 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. --- .github/workflows/scripts/lib/testing.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/lib/testing.sh b/.github/workflows/scripts/lib/testing.sh index 913c9d4..66a6d5b 100755 --- a/.github/workflows/scripts/lib/testing.sh +++ b/.github/workflows/scripts/lib/testing.sh @@ -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