diff --git a/.ci/autorun.sh b/.ci/autorun.sh index d07494b..6df16cd 100755 --- a/.ci/autorun.sh +++ b/.ci/autorun.sh @@ -16,8 +16,18 @@ function ASSERT { cleanup +# macOS needs more time to boot compared to Linux, so the timeout is set to +# 600 seconds for macOS to handle the longer startup. For Linux, 90 seconds +# is sufficient due to its faster boot process. +UNAME_S=$(uname -s) +if [[ ${UNAME_S} == "Darwin" ]]; then + TIMEOUT=600 +else # Linux + TIMEOUT=90 +fi + ASSERT expect <