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_no_topo_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_no_topo_test.go')
-rw-r--r-- | extras/hs-test/suite_no_topo_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/suite_no_topo_test.go b/extras/hs-test/suite_no_topo_test.go index 8f7c87620ce..c6b3170dd5e 100644 --- a/extras/hs-test/suite_no_topo_test.go +++ b/extras/hs-test/suite_no_topo_test.go @@ -30,9 +30,9 @@ func (s *NoTopoSuite) SetupTest() { cpus := s.AllocateCpus() container := s.getContainerByName(singleTopoContainerVpp) vpp, _ := container.newVppInstance(cpus, sessionConfig) - vpp.start() + s.assertNil(vpp.start()) tapInterface := s.netInterfaces[tapInterfaceName] - vpp.createTap(tapInterface) + s.assertNil(vpp.createTap(tapInterface), "failed to create tap interface") } |