diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2021-11-30 13:55:58 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-12-02 17:53:11 +0000 |
commit | f68798626c7d4704acfa68751e52f087ca67a13a (patch) | |
tree | 615f58c44d099edc3523a7edbca329e33896c084 /test | |
parent | e31c48a66b966fa326a5ca813892201e7e3e054b (diff) |
tests: add segment manager tests
Type: test
Change-Id: Ic9fddc9fedd5140984c5901c4cac53dec022dcec
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_session.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/test_session.py b/test/test_session.py index 8e03968d19a..6c48e5467db 100644 --- a/test/test_session.py +++ b/test/test_session.py @@ -122,6 +122,33 @@ class TestSessionUnitTests(VppTestCase): @tag_run_solo +class TestSegmentManagerTests(VppTestCase): + """ SVM Fifo Unit Tests Case """ + + @classmethod + def setUpClass(cls): + super(TestSegmentManagerTests, cls).setUpClass() + + @classmethod + def tearDownClass(cls): + super(TestSegmentManagerTests, cls).tearDownClass() + + def setUp(self): + super(TestSegmentManagerTests, self).setUp() + + def test_segment_manager(self): + """ Segment manager Tests """ + error = self.vapi.cli("test segment-manager all") + + if error: + self.logger.critical(error) + self.assertNotIn("failed", error) + + def tearDown(self): + super(TestSegmentManagerTests, self).tearDown() + + +@tag_run_solo class TestSvmFifoUnitTests(VppTestCase): """ SVM Fifo Unit Tests Case """ |