summaryrefslogtreecommitdiffstats
path: root/test/test_vtr.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_vtr.py')
-rw-r--r--test/test_vtr.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test_vtr.py b/test/test_vtr.py
index b7e131f005e..a224909d8cb 100644
--- a/test/test_vtr.py
+++ b/test/test_vtr.py
@@ -83,10 +83,11 @@ class TestVtr(VppTestCase):
Show various debug prints after each test.
"""
super(TestVtr, self).tearDown()
- if not self.vpp_dead:
- self.logger.info(self.vapi.ppcli("show l2fib verbose"))
- self.logger.info(self.vapi.ppcli("show bridge-domain %s detail" %
- self.bd_id))
+
+ def show_commands_at_teardown(self):
+ self.logger.info(self.vapi.ppcli("show l2fib verbose"))
+ self.logger.info(self.vapi.ppcli("show bridge-domain %s detail" %
+ self.bd_id))
@classmethod
def create_hosts_and_learn(cls, count):