aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/http_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/http_test.go')
-rw-r--r--extras/hs-test/http_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go
index 93705b22b88..96985be1ca7 100644
--- a/extras/hs-test/http_test.go
+++ b/extras/hs-test/http_test.go
@@ -51,7 +51,7 @@ func (s *NoTopoSuite) TestNginxAsServer() {
err := vpp.waitForApp("-app", 5)
s.assertNil(err)
- serverAddress := s.netInterfaces[tapNameVpp].IP4AddressString()
+ serverAddress := s.netInterfaces[tapInterfaceName].Peer().IP4AddressString()
defer func() { os.Remove(query) }()
go startWget(finished, serverAddress, "80", query, "")
@@ -64,7 +64,7 @@ func runNginxPerf(s *NoTopoSuite, mode, ab_or_wrk string) error {
var args []string
var exeName string
- serverAddress := s.netInterfaces[tapNameVpp].IP4AddressString()
+ serverAddress := s.netInterfaces[tapInterfaceName].Peer().IP4AddressString()
if ab_or_wrk == "ab" {
args = []string{"-n", fmt.Sprintf("%d", nRequests), "-c",