X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_ping.py;h=7e5c92f63c67a036ab87d643491c4ac333d759f4;hb=c17fc44735b509b22476e8663e33be62678837a2;hp=75c18d46c6913d035fb928a5df9cc24ee5031359;hpb=7f9b7f9f492d1748d8ba025b3a713058fdb1943d;p=vpp.git diff --git a/test/test_ping.py b/test/test_ping.py index 75c18d46c69..7e5c92f63c6 100644 --- a/test/test_ping.py +++ b/test/test_ping.py @@ -42,8 +42,9 @@ class TestPing(VppTestCase): def tearDown(self): super(TestPing, self).tearDown() - if not self.vpp_dead: - self.vapi.cli("show hardware") + + def show_commands_at_teardown(self): + self.logger.info(self.vapi.cli("show hardware")) def test_ping_basic(self): """ basic ping test """