Skip to content

Commit

Permalink
reduced the time waiting for Local_Stack to be up
Browse files Browse the repository at this point in the history
  • Loading branch information
DinisCruz committed Oct 21, 2024
1 parent 60a694b commit c567384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/docker__local-stack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c567384

Please sign in to comment.