diff options
author | Maros Ondrejicka <maros.ondrejicka@pantheon.tech> | 2023-02-02 08:58:04 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-02-10 05:23:19 +0000 |
commit | 2908f8cf07c21f385f80d83fdad826a0eea98977 (patch) | |
tree | 6391c5b989f2a7800958489feb1d7f460a87e850 /extras/hs-test/linux_iperf_test.go | |
parent | 0a192ea93df9d1cd4d7777bcc5418a2f9e861a6c (diff) |
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 <maros.ondrejicka@pantheon.tech>
Change-Id: Idf26b0c16f87e87c97b198412af39b99d947ced6
Diffstat (limited to 'extras/hs-test/linux_iperf_test.go')
-rw-r--r-- | extras/hs-test/linux_iperf_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 |