Skip to content

Commit 5fed4a3

Browse files
committed
ci: Cleanup iperf3 tests
- Start iperf3 service instead of using systemd run since this is the standard way to start the server. - Use iperf3-darwin since it provides additional info (RTT). With this changes the macos-15 test is successful: https://github.com/lima-vm/socket_vmnet/actions/runs/11980467424/job/33404783754 Signed-off-by: Nir Soffer <[email protected]>
1 parent c3f1b45 commit 5fed4a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ jobs:
8787
- name: "Lima: vm1: set up iperf3"
8888
run: |
8989
limactl shell vm1 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y iperf3
90-
limactl shell vm1 systemd-run --user --unit=iperf3 iperf3 -s
90+
limactl shell vm1 sudo systemctl start iperf3.service
9191
- name: "Lima: vm1: get the IP"
9292
run: |
9393
limactl shell vm1 ip -4 -json addr show dev lima0 | jq -r .[0].addr_info[0].local | tee /tmp/vm1_iP
9494
- name: "Lima: vm1: iperf3 (host -> vm1)"
9595
run: |
96-
iperf3 -c "$(cat /tmp/vm1_ip)"
96+
iperf3-darwin -c "$(cat /tmp/vm1_ip)"
9797
- name: "Lima: vm1: debug"
9898
if: failure()
9999
run: tail -n500 ~/.lima/vm1/*.log

0 commit comments

Comments
 (0)