File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
tests/integration_tests/functional Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1010from framework import utils
1111
1212# The iperf version to run this tests with
13- IPERF_BINARY = "iperf3"
13+ IPERF_BINARY_GUEST = "iperf3"
14+ # We are using iperf3-vsock instead of a regular iperf3,
15+ # because iperf3 3.16+ crashes on aarch64 sometimes
16+ # when running this test.
17+ IPERF_BINARY_HOST = "iperf3-vsock"
1418
1519
1620def test_high_ingress_traffic (uvm_plain_any ):
@@ -33,15 +37,15 @@ def test_high_ingress_traffic(uvm_plain_any):
3337 test_microvm .start ()
3438
3539 # Start iperf3 server on the guest.
36- test_microvm .ssh .run ("{} -sD\n " .format (IPERF_BINARY ))
40+ test_microvm .ssh .check_output ("{} -sD\n " .format (IPERF_BINARY_GUEST ))
3741 time .sleep (1 )
3842
3943 # Start iperf3 client on the host. Send 1Gbps UDP traffic.
4044 # If the net device breaks, iperf will freeze. We have to use a timeout.
41- utils .run_cmd (
42- "timeout 30 {} {} -c {} -u -V -b 1000000000 -t 30" .format (
45+ utils .check_output (
46+ "timeout 31 {} {} -c {} -u -V -b 1000000000 -t 30" .format (
4347 test_microvm .netns .cmd_prefix (),
44- IPERF_BINARY ,
48+ IPERF_BINARY_HOST ,
4549 guest_ip ,
4650 ),
4751 )
You can’t perform that action at this time.
0 commit comments