Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Tests: Refactor tearDown show command logging, add lifecycle markers.
[vpp.git]
/
test
/
test_l2xc_multi_instance.py
diff --git
a/test/test_l2xc_multi_instance.py
b/test/test_l2xc_multi_instance.py
index
0fb080a
..
f7cffa3
100644
(file)
--- a/
test/test_l2xc_multi_instance.py
+++ b/
test/test_l2xc_multi_instance.py
@@
-128,8
+128,9
@@
class TestL2xcMultiInst(VppTestCase):
Show various debug prints after each test.
"""
super(TestL2xcMultiInst, self).tearDown()
Show various debug prints after each test.
"""
super(TestL2xcMultiInst, self).tearDown()
- if not self.vpp_dead:
- self.logger.info(self.vapi.ppcli("show l2patch"))
+
+ def show_commands_at_teardown(self):
+ self.logger.info(self.vapi.ppcli("show l2patch"))
@classmethod
def create_hosts(cls, count):
@classmethod
def create_hosts(cls, count):