Skip to content

Commit

Permalink
use timeout instead of counter
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamGallagher737 committed Oct 24, 2024
1 parent 58d7760 commit 4cc886a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/server-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
run: sudo ./vm-run --no-reboot -nographic -nic user,model=virtio,hostfwd=tcp::3000-:3000 &

- name: Wait for Boot
timeout-minutes: 5
run: |
for i in {1..30}; do
while true; do
curl http://localhost:3000 && break
echo "Waiting for server..."
sleep 5
Expand Down

0 comments on commit 4cc886a

Please sign in to comment.