From db823ed6e9543741f6969ff160314093002e037e Mon Sep 17 00:00:00 2001 From: Maros Ondrejicka Date: Wed, 14 Dec 2022 16:30:04 +0100 Subject: hs-test: abstract away topology from test cases Definition of shared volumes and containers has been moved to yaml files to be together with network topology. Containers are automatically run at the beginning of each test case and stopped afterward. Type: test Signed-off-by: Maros Ondrejicka Change-Id: I264cbb4f1355f8bd7aade221e9609fb5b9bd693e --- extras/hs-test/suite_tap_test.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extras/hs-test/suite_tap_test.go (limited to 'extras/hs-test/suite_tap_test.go') diff --git a/extras/hs-test/suite_tap_test.go b/extras/hs-test/suite_tap_test.go new file mode 100644 index 00000000000..ffcd8b72a70 --- /dev/null +++ b/extras/hs-test/suite_tap_test.go @@ -0,0 +1,15 @@ +package main + +import ( + "time" +) + +type TapSuite struct { + HstSuite +} + +func (s *TapSuite) SetupSuite() { + time.Sleep(1 * time.Second) + s.teardownSuite = setupSuite(&s.Suite, "tap") +} + -- cgit 1.2.3-korg