X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Ftest_lb.py;h=93b389a1444af8e8344f76ef08a828081ea280ec;hb=4271c971919bb8defa3ca54f4a362676cd57bfb2;hp=01af0e56b5b00127a114d0e72ab4ec46ca9e84be;hpb=f7f13347bc8bc941a2d9aa847ddd88a758d65f71;p=vpp.git diff --git a/test/test_lb.py b/test/test_lb.py index 01af0e56b5b..93b389a1444 100644 --- a/test/test_lb.py +++ b/test/test_lb.py @@ -63,10 +63,15 @@ class TestLB(VppTestCase): super(TestLB, cls).tearDownClass() raise + @classmethod + def tearDownClass(cls): + super(TestLB, cls).tearDownClass() + def tearDown(self): super(TestLB, self).tearDown() - if not self.vpp_dead: - self.logger.info(self.vapi.cli("show lb vip verbose")) + + def show_commands_at_teardown(self): + self.logger.info(self.vapi.cli("show lb vip verbose")) def getIPv4Flow(self, id): return (IP(dst="90.0.%u.%u" % (id / 255, id % 255),