From c56738435af9bfb7820712599538bbeff6dcc6b4 Mon Sep 17 00:00:00 2001 From: Dinis Cruz Date: Mon, 21 Oct 2024 01:31:48 +0100 Subject: [PATCH] reduced the time waiting for Local_Stack to be up --- .github/actions/docker__local-stack/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docker__local-stack/action.yml b/.github/actions/docker__local-stack/action.yml index 69e4aa2..2ebda27 100644 --- a/.github/actions/docker__local-stack/action.yml +++ b/.github/actions/docker__local-stack/action.yml @@ -36,11 +36,11 @@ runs: - name: Wait for LocalStack to be ready shell: bash run: | - for i in {1..10}; do + for i in {1..20}; do if curl -s http://localhost:4566/_localstack/health; then echo "LocalStack is ready" break fi echo "Waiting for LocalStack..." - sleep 5 + sleep 1 done \ No newline at end of file