From 2908f8cf07c21f385f80d83fdad826a0eea98977 Mon Sep 17 00:00:00 2001 From: Maros Ondrejicka Date: Thu, 2 Feb 2023 08:58:04 +0100 Subject: hs-test: refactor test cases from ns suite This converts more tests to configure VPP from test context. Type: test Signed-off-by: Maros Ondrejicka Change-Id: Idf26b0c16f87e87c97b198412af39b99d947ced6 --- extras/hs-test/linux_iperf_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extras/hs-test/linux_iperf_test.go') diff --git a/extras/hs-test/linux_iperf_test.go b/extras/hs-test/linux_iperf_test.go index 833fb2c2c4a..154a9b543b9 100644 --- a/extras/hs-test/linux_iperf_test.go +++ b/extras/hs-test/linux_iperf_test.go @@ -13,7 +13,9 @@ func (s *TapSuite) TestLinuxIperf() { err := <-srvCh s.assertNil(err) s.log("server running") - go StartClientApp(nil, clnCh, clnRes) + + ipAddress := s.netInterfaces["tap0"].Ip4AddressString() + go StartClientApp(ipAddress, nil, clnCh, clnRes) s.log("client running") s.log(<-clnRes) err = <-clnCh -- cgit 1.2.3-korg