From fb1478ba20ab7375c04744d327fb7c15d886e37f Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Fri, 15 Nov 2024 15:48:29 +0100 Subject: [PATCH] Improve waiting --- .github/tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/tests.sh b/.github/tests.sh index 48fe916..00e61f7 100755 --- a/.github/tests.sh +++ b/.github/tests.sh @@ -12,7 +12,8 @@ echo echo "wait for zammad to be ready..." echo -curl --silent --retry 120 --retry-delay 1 --retry-connrefused http://localhost:8080 | grep "Zammad" +docker compose wait zammad-init +curl --retry 30 --retry-delay 1 --retry-connrefused http://localhost:8080 | grep "Zammad" echo echo "Success - Zammad is up :)"