hs-test: refactor test cases from no-topo suite

This converts remaining tests to configation of VPP from test context.

Type: test
Change-Id: I386714f6b290e03d1757c2a033a25fae0340f5d6
Signed-off-by: Maros Ondrejicka <mondreji@cisco.com>
This commit is contained in:
Maros Ondrejicka
2023-02-07 20:40:27 +01:00
committed by Florin Coras
parent 2908f8cf07
commit 7550dd268f
19 changed files with 207 additions and 649 deletions

View File

@@ -25,7 +25,6 @@ func IsVerbose() bool {
type HstSuite struct {
suite.Suite
teardownSuite func()
containers map[string]*Container
volumes []string
netConfigs []NetConfig
@@ -34,10 +33,6 @@ type HstSuite struct {
}
func (s *HstSuite) TearDownSuite() {
if s.teardownSuite != nil {
s.teardownSuite() // TODO remove this after config moved to SetupTest() for each suite
}
s.unconfigureNetworkTopology()
}