X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_bond.py;h=03f0eea4c7e0d153de0dbd9a4ff2e63a0962096f;hb=90cf21b5d8fd2d3e531e841dcd752311df5f8a50;hp=533038e658aa11897e342f9ff098b7a329618f5e;hpb=3b0d7e42f65eaf8d84cfe26e2e9f5244c554b934;p=vpp.git diff --git a/test/test_bond.py b/test/test_bond.py index 533038e658a..03f0eea4c7e 100644 --- a/test/test_bond.py +++ b/test/test_bond.py @@ -31,13 +31,18 @@ class TestBondInterface(VppTestCase): for i in cls.pg_interfaces: i.admin_up() + @classmethod + def tearDownClass(cls): + super(TestBondInterface, cls).tearDownClass() + def setUp(self): super(TestBondInterface, self).setUp() def tearDown(self): super(TestBondInterface, self).tearDown() - if not self.vpp_dead: - self.logger.info(self.vapi.ppcli("show interface")) + + def show_commands_at_teardown(self): + self.logger.info(self.vapi.ppcli("show interface")) def test_bond_traffic(self): """ Bond traffic test """