hs-test: experimental support for multiple test instances
[vpp.git] / extras / hs-test / linux_iperf_test.go
index 47ebd03..06247e4 100644 (file)
@@ -14,7 +14,7 @@ func (s *TapSuite) TestLinuxIperf() {
        s.assertNil(err, err)
        s.log("server running")
 
-       ipAddress := s.netInterfaces[tapInterfaceName].ip4AddressString()
+       ipAddress := s.getInterfaceByName(tapInterfaceName).ip4AddressString()
        go s.startClientApp(ipAddress, nil, clnCh, clnRes)
        s.log("client running")
        s.log(<-clnRes)