Skip to content

Commit afec5ec

Browse files
committed
Merge pull request #1769 from pguyot/w29/bump-net-kernel-test-timeout
macOS CI: implement workaround for random nxdomain issue in net_kernel test These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 05f34f9 + 18d447d commit afec5ec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build-and-test-macos.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ jobs:
6565
fi
6666
done
6767
68+
- name: "Workaround for nxdomain random issues"
69+
run: |
70+
# https://github.com/actions/runner-images/issues/8649#issuecomment-2231240347
71+
for host in "$(hostname)" "$(hostname -f)"; do
72+
echo -e "$(ipconfig getifaddr en0) $(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
73+
dscacheutil -q host -a name $(hostname -f)
74+
done
75+
6876
# Builder info
6977
- name: "System info"
7078
run: |

0 commit comments

Comments
 (0)