summaryrefslogtreecommitdiffstats
path: root/test/test_gtpu.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_gtpu.py')
-rw-r--r--test/test_gtpu.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/test/test_gtpu.py b/test/test_gtpu.py
index 0d764f55edb..199bd7d98ca 100644
--- a/test/test_gtpu.py
+++ b/test/test_gtpu.py
@@ -287,13 +287,14 @@ class TestGtpu(BridgeDomain, VppTestCase):
# @param self The object pointer.
def tearDown(self):
super(TestGtpu, self).tearDown()
- if not self.vpp_dead:
- self.logger.info(self.vapi.cli("show bridge-domain 11 detail"))
- self.logger.info(self.vapi.cli("show bridge-domain 12 detail"))
- self.logger.info(self.vapi.cli("show bridge-domain 13 detail"))
- self.logger.info(self.vapi.cli("show int"))
- self.logger.info(self.vapi.cli("show gtpu tunnel"))
- self.logger.info(self.vapi.cli("show trace"))
+
+ def show_commands_at_teardown(self):
+ self.logger.info(self.vapi.cli("show bridge-domain 11 detail"))
+ self.logger.info(self.vapi.cli("show bridge-domain 12 detail"))
+ self.logger.info(self.vapi.cli("show bridge-domain 13 detail"))
+ self.logger.info(self.vapi.cli("show int"))
+ self.logger.info(self.vapi.cli("show gtpu tunnel"))
+ self.logger.info(self.vapi.cli("show trace"))
if __name__ == '__main__':