travis: Increase poll_ready timeout

Travis CI is occasionally very slow
This commit is contained in:
Antoine Cotten 2020-02-27 11:41:14 +01:00
parent 63076528ad
commit 406f10c540
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ function poll_ready {
local cid local cid
local output local output
# retry for max 90s (18*5s) # retry for max 120s (24*5s)
for _ in $(seq 1 18); do for _ in $(seq 1 24); do
cid="$(docker ps -q -f label="$label")" cid="$(docker ps -q -f label="$label")"
if [ -z "${cid:-}" ]; then if [ -z "${cid:-}" ]; then
echo "Container exited" echo "Container exited"