Skip to content

Commit

Permalink
tests/test-vm.sh: reduce default connection retries to 60 + use globa…
Browse files Browse the repository at this point in the history
…l timeout of 5 minutes

There's no point in waiting ~45 minutes before timing out on our GitHub
action runs. Instead reduce retries from 180 to 60, and set overall
runtime of 5 minutes, which should be enough for our current builds.
  • Loading branch information
mika committed Aug 17, 2024
1 parent 5e8f31d commit b92cc30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ if [ "$success" = "0" ] ; then
fi

"$TEST_PWD"/tests/serial-console-connection \
--tries 180 \
--timeout 300 \
--tries 60 \
--port "$serial_port" \
--hostname "$VM_HOSTNAME" \
--poweroff \
Expand Down

0 comments on commit b92cc30

Please sign in to comment.