Skip to content

Commit

Permalink
bin/test-image: Give Centos images an extra minute to boot
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin committed Apr 2, 2024
1 parent beeb1fc commit 3bc801f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/test-image
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,15 @@ done
echo "==> Waiting for instances to start"
for i in ${INSTANCES}; do
if [ "${DIST}" == "busybox" ]; then
# Busybox has only 1 process running when ready.
MIN_PROC_COUNT=1
fi

if [ "${DIST}" == "centos" ]; then
# Give CentOS a bit more time to boot.
MAX_WAIT_SECONDS=180
fi

waitInstanceReady "${i}"
done

Expand Down

0 comments on commit 3bc801f

Please sign in to comment.