diff options
author | adrianvillin <avillin@cisco.com> | 2024-02-13 03:26:25 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-02-15 18:35:34 +0000 |
commit | fbf5f2b0300c654be5d1962bc207c87f49930faf (patch) | |
tree | e7c08314ecfe7af4ff15b0bf9794396bec3f96bc /extras/hs-test/http_test.go | |
parent | 0ded4890beaa3aa1f36c61ff6125d19582b25391 (diff) |
hs-test: shortened interface names to avoid character limit
Type: test
Change-Id: I09df597ccb8a3c4af47b8a36010afb81df533236
Signed-off-by: adrianvillin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/http_test.go')
-rw-r--r-- | extras/hs-test/http_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go index e710f38835b..068d0424555 100644 --- a/extras/hs-test/http_test.go +++ b/extras/hs-test/http_test.go @@ -11,13 +11,14 @@ func (s *NsSuite) TestHttpTps() { client_ip := iface.ip4AddressString() port := "8080" finished := make(chan error, 1) + clientNetns := "cln" container := s.getContainerByName("vpp") // configure vpp in the container container.vppInstance.vppctl("http tps uri tcp://0.0.0.0/8080") - go s.startWget(finished, client_ip, port, "test_file_10M", "client") + go s.startWget(finished, client_ip, port, "test_file_10M", clientNetns) // wait for client err := <-finished s.assertNil(err, err) @@ -107,7 +108,7 @@ func runNginxPerf(s *NoTopoSuite, mode, ab_or_wrk string) error { vpp := s.getContainerByName("vpp").vppInstance - nginxCont := s.getContainerByName("nginx") + nginxCont := s.getContainerByName(singleTopoContainerNginx) s.assertNil(nginxCont.run()) vpp.waitForApp("nginx-", 5) |