diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2024-01-11 17:17:33 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-01-11 19:45:06 +0000 |
commit | 56e17cf7a23831b353bc1836def47dad7f869dad (patch) | |
tree | e78fc35d94222a473c83a5e707f7e8e61d1b5914 /extras/hs-test/suite_nginx_test.go | |
parent | ba39d86eeccba78c92ef275fd48ab4c6d653a997 (diff) |
hs-test: add more asserts
Type: test
Change-Id: Ia285ff39d9b19464ea086ec847ceaf52c6c0195c
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'extras/hs-test/suite_nginx_test.go')
-rw-r--r-- | extras/hs-test/suite_nginx_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/hs-test/suite_nginx_test.go b/extras/hs-test/suite_nginx_test.go index c250ed7843e..4fc06265a29 100644 --- a/extras/hs-test/suite_nginx_test.go +++ b/extras/hs-test/suite_nginx_test.go @@ -33,13 +33,13 @@ func (s *NginxSuite) SetupTest() { // ... for proxy vppProxyContainer := s.getContainerByName(vppProxyContainerName) proxyVpp, _ := vppProxyContainer.newVppInstance(cpus, sessionConfig) - proxyVpp.start() + s.assertNil(proxyVpp.start()) clientInterface := s.netInterfaces[mirroringClientInterfaceName] - proxyVpp.createTap(clientInterface, 1) + s.assertNil(proxyVpp.createTap(clientInterface, 1)) serverInterface := s.netInterfaces[mirroringServerInterfaceName] - proxyVpp.createTap(serverInterface, 2) + s.assertNil(proxyVpp.createTap(serverInterface, 2)) nginxContainer := s.getTransientContainerByName(nginxProxyContainerName) nginxContainer.create() @@ -56,7 +56,7 @@ func (s *NginxSuite) SetupTest() { "./resources/nginx/nginx_proxy_mirroring.conf", values, ) - nginxContainer.start() + s.assertNil(nginxContainer.start()) proxyVpp.waitForApp("nginx-", 5) } |