Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix vpp crash bug while deleting dhcp client
[vpp.git]
/
test
/
test_ping.py
diff --git
a/test/test_ping.py
b/test/test_ping.py
index
4f3921e
..
7e5c92f
100644
(file)
--- a/
test/test_ping.py
+++ b/
test/test_ping.py
@@
-36,10
+36,15
@@
class TestPing(VppTestCase):
super(TestPing, cls).tearDownClass()
raise
super(TestPing, cls).tearDownClass()
raise
+ @classmethod
+ def tearDownClass(cls):
+ super(TestPing, cls).tearDownClass()
+
def tearDown(self):
super(TestPing, self).tearDown()
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 """
def test_ping_basic(self):
""" basic ping test """