Skip to content

Commit eb3e043

Browse files
committed
ci: Add TCP test workaround for macos-15-intel
Run TestSSHAccess/tcp as a separate step before running integration tests to prepare the evironment because this test fails on the first attempt on macos-15-intel but succeeds on subsequent runs.
1 parent 18da7e3 commit eb3e043

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/compile.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ jobs:
5959
- name: Unit tests
6060
run: make test-unit
6161

62+
# Workaround: TestSSHAccess/tcp fails on the first attempt on macos-15-intel
63+
# but succeeds on subsequent runs. Run it once with continue-on-error to prepare
64+
# the environment before integration tests.
65+
- name: Workaround for network issue
66+
if: matrix.runner == 'macos-15-intel'
67+
run: |-
68+
go test -run TestSSHAccess/tcp ./test
69+
continue-on-error: true
70+
6271
# Integration tests run only on macos-15-intel due to virtualization requirements
6372
# macos-15-intel runners will be deprecated by August 2027
6473
# See:https://github.com/actions/runner-images/issues/13045

0 commit comments

Comments
 (0)