diff options
Diffstat (limited to 'test/test_geneve.py')
-rw-r--r-- | test/test_geneve.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/test_geneve.py b/test/test_geneve.py index 4d6e3f5932a..86515f40430 100644 --- a/test/test_geneve.py +++ b/test/test_geneve.py @@ -223,11 +223,12 @@ class TestGeneve(BridgeDomain, VppTestCase): # @param self The object pointer. def tearDown(self): super(TestGeneve, self).tearDown() - if not self.vpp_dead: - self.logger.info(self.vapi.cli("show bridge-domain 1 detail")) - self.logger.info(self.vapi.cli("show bridge-domain 2 detail")) - self.logger.info(self.vapi.cli("show bridge-domain 3 detail")) - self.logger.info(self.vapi.cli("show geneve tunnel")) + + def show_commands_at_teardown(self): + self.logger.info(self.vapi.cli("show bridge-domain 1 detail")) + self.logger.info(self.vapi.cli("show bridge-domain 2 detail")) + self.logger.info(self.vapi.cli("show bridge-domain 3 detail")) + self.logger.info(self.vapi.cli("show geneve tunnel")) if __name__ == '__main__': |