diff options
author | Maros Ondrejicka <mondreji@cisco.com> | 2023-02-27 13:22:45 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-02-28 18:27:17 +0000 |
commit | c2f76f4590f57729d1bcf03bd816c10991431b18 (patch) | |
tree | 9ab0273c87c3f5ba21cf0ee8277f60f73e95f762 /extras/hs-test/http_test.go | |
parent | b0116a13dcc631d5128209dec867c3fb5209629d (diff) |
hs-test: test vpp+nginx mirroring with tap ifaces
Type: test
Signed-off-by: Maros Ondrejicka <mondreji@cisco.com>
Change-Id: I05bbed8fd9d40929f040574044aed5292a475e91
Diffstat (limited to 'extras/hs-test/http_test.go')
-rw-r--r-- | extras/hs-test/http_test.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go index 96985be1ca7..c1b3b7f2a03 100644 --- a/extras/hs-test/http_test.go +++ b/extras/hs-test/http_test.go @@ -48,8 +48,7 @@ func (s *NoTopoSuite) TestNginxAsServer() { s.assertNil(nginxCont.run()) vpp := s.getContainerByName("vpp").vppInstance - err := vpp.waitForApp("-app", 5) - s.assertNil(err) + vpp.waitForApp("-app", 5) serverAddress := s.netInterfaces[tapInterfaceName].Peer().IP4AddressString() @@ -86,8 +85,7 @@ func runNginxPerf(s *NoTopoSuite, mode, ab_or_wrk string) error { nginxCont := s.getContainerByName("nginx") s.assertNil(nginxCont.run()) - err := vpp.waitForApp("-app", 5) - s.assertNil(err) + vpp.waitForApp("-app", 5) cmd := exec.Command(exeName, args...) s.log(cmd) |