Skip to content

Commit 6a124dc

Browse files
committed
CI: Increase macOS timeout
GitHub Actions macOS runners show significantly slower performance compared to Linux. Boot process that completes in 23-30 seconds locally takes 5+ minutes in CI environment.
1 parent ceb9196 commit 6a124dc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.ci/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ get_timeout() {
4545

4646
case "${OS_TYPE}" in
4747
Darwin)
48-
echo "600"
48+
echo "900"
4949
;;
5050
Linux)
5151
echo "90"

.ci/test-netdev.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ export SCRIPT_DIR
66
source "${SCRIPT_DIR}/common.sh"
77

88
# Override timeout for netdev tests
9-
# Network tests need different timeout: 30s for Linux, 600s for macOS
9+
# Network tests need different timeout: 30s for Linux, 900s for macOS
1010
case "${OS_TYPE}" in
1111
Darwin)
12-
TIMEOUT=600
12+
TIMEOUT=900
1313
;;
1414
Linux)
1515
TIMEOUT=30

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
- name: automated test
104104
run: .ci/autorun.sh
105105
shell: bash
106-
timeout-minutes: 15
106+
timeout-minutes: 20
107107
- name: netdev test
108108
# NOTE: vmnet requires sudo privileges which may not be available in GitHub Actions
109109
# This test is conditional and will be skipped if sudo is not available

0 commit comments

Comments
 (0)