From c9666dd4eff5752b62bdc7677fed85e35bfe3532 Mon Sep 17 00:00:00 2001 From: Lee Read Date: Wed, 3 Aug 2022 19:02:16 -0400 Subject: [PATCH] ci: try adjusting macos network settings (#490) Still seeing sporadic read timeouts on GitHub Actions macos test runs. Let's try: https://github.com/actions/virtual-environments/issues/1187#issuecomment-696195756 Addendum to #464 --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26ff7db0..ce24cdda 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,6 +60,12 @@ jobs: if: ${{ matrix.os == 'windows' }} run: Disable-NetAdapterChecksumOffload -Name * -TcpIPv4 -UdpIPv4 -TcpIPv6 -UdpIPv6 + - name: Tune macOS network + if: ${{ matrix.os == 'macos' }} + run: | + sudo sysctl -w net.link.generic.system.hwcksum_tx=0 + sudo sysctl -w net.link.generic.system.hwcksum_rx=0 + - name: Install Ubuntu X11 Utils if: ${{ matrix.os == 'ubuntu' }} run: sudo apt-get -y install x11-utils