X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_ip4_irb.py;h=df663552f42183eaa2e7bc69aff6f95362a96504;hb=90cf21b5d8fd2d3e531e841dcd752311df5f8a50;hp=f4f2b610d1c49c5968f9f75eda1c09c72e89421c;hpb=7c91007e1e13b56a29236bd076891709eaa21754;p=vpp.git diff --git a/test/test_ip4_irb.py b/test/test_ip4_irb.py index f4f2b610d1c..df663552f42 100644 --- a/test/test_ip4_irb.py +++ b/test/test_ip4_irb.py @@ -99,12 +99,13 @@ class TestIpIrb(VppTestCase): ``show ip arp``. """ super(TestIpIrb, self).tearDown() - if not self.vpp_dead: - self.logger.info(self.vapi.cli("show l2patch")) - self.logger.info(self.vapi.cli("show l2fib verbose")) - self.logger.info(self.vapi.cli("show bridge-domain %s detail" % - self.bd_id)) - self.logger.info(self.vapi.cli("show ip arp")) + + def show_commands_at_teardown(self): + self.logger.info(self.vapi.cli("show l2patch")) + self.logger.info(self.vapi.cli("show l2fib verbose")) + self.logger.info(self.vapi.cli("show bridge-domain %s detail" % + self.bd_id)) + self.logger.info(self.vapi.cli("show ip arp")) def create_stream(self, src_ip_if, dst_ip_if, packet_sizes): pkts = []