hs-test: experimental support for multiple test instances
[vpp.git] / extras / hs-test / ldp_test.go
index 1ccf859..8d9168d 100644 (file)
@@ -62,7 +62,7 @@ func (s *VethsSuite) TestLDPreloadIperfVpp() {
        s.log("attaching client to vpp")
        var clnRes = make(chan string, 1)
        clnEnv := append(os.Environ(), ldpreload, "VCL_CONFIG="+clientVclFileName)
-       serverVethAddress := s.netInterfaces[serverInterfaceName].ip4AddressString()
+       serverVethAddress := s.getInterfaceByName(serverInterfaceName).ip4AddressString()
        go s.startClientApp(serverVethAddress, clnEnv, clnCh, clnRes)
        s.log(<-clnRes)