Skip to content

Commit 324aa71

Browse files
roypatzulinx86
authored andcommitted
Revert "test(net): use iperf3-vsock in test_high_ingress_traffic"
This reverts commit 2e994b5. Since iperf 3.18.0 the bug we were running into that caused occasional segfaults has been fixed. Signed-off-by: Patrick Roy <[email protected]>
1 parent 313dce3 commit 324aa71

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tests/integration_tests/functional/test_net.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@
1111
from framework import utils
1212

1313
# The iperf version to run this tests with
14-
IPERF_BINARY_GUEST = "iperf3"
15-
# We are using iperf3-vsock instead of a regular iperf3,
16-
# because iperf3 3.16+ crashes on aarch64 sometimes
17-
# when running this test.
18-
IPERF_BINARY_HOST = "iperf3-vsock"
14+
IPERF_BINARY = "iperf3"
1915

2016

2117
def test_high_ingress_traffic(uvm_plain_any):
@@ -38,15 +34,15 @@ def test_high_ingress_traffic(uvm_plain_any):
3834
test_microvm.start()
3935

4036
# Start iperf3 server on the guest.
41-
test_microvm.ssh.check_output("{} -sD\n".format(IPERF_BINARY_GUEST))
37+
test_microvm.ssh.check_output("{} -sD\n".format(IPERF_BINARY))
4238
time.sleep(1)
4339

4440
# Start iperf3 client on the host. Send 1Gbps UDP traffic.
4541
# If the net device breaks, iperf will freeze, and we'll hit the pytest timeout
4642
utils.check_output(
4743
"{} {} -c {} -u -V -b 1000000000 -t 30".format(
4844
test_microvm.netns.cmd_prefix(),
49-
IPERF_BINARY_HOST,
45+
IPERF_BINARY,
5046
guest_ip,
5147
),
5248
)

0 commit comments

Comments
 (0)