summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/suite_no_topo_test.go
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2024-01-11 17:17:33 +0100
committerFlorin Coras <florin.coras@gmail.com>2024-01-11 19:45:06 +0000
commit56e17cf7a23831b353bc1836def47dad7f869dad (patch)
treee78fc35d94222a473c83a5e707f7e8e61d1b5914 /extras/hs-test/suite_no_topo_test.go
parentba39d86eeccba78c92ef275fd48ab4c6d653a997 (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.go4
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")
}