diff options
author | Klement Sekera <ksekera@cisco.com> | 2019-02-19 13:53:43 +0100 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-02-19 15:26:55 +0000 |
commit | cae98b72c97e1ea95e06068ae9923a5f3a21938d (patch) | |
tree | 5f98ba3671625c5e32e51fc452f31ca30274217d /test/test_reassembly.py | |
parent | 4e633e1043e867fd24badeb0405f794793beb9a9 (diff) |
reassembly: fix buffer usage counter
Change-Id: I713904f8eb2f724cb08dba494c160c14cc8b24a1
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_reassembly.py')
-rw-r--r-- | test/test_reassembly.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_reassembly.py b/test/test_reassembly.py index 6c0513ee76d..7bca794c5c0 100644 --- a/test/test_reassembly.py +++ b/test/test_reassembly.py @@ -57,6 +57,7 @@ class TestIPv4Reassembly(VppTestCase): def tearDown(self): super(TestIPv4Reassembly, self).tearDown() self.logger.debug(self.vapi.ppcli("show ip4-reassembly details")) + self.logger.debug(self.vapi.ppcli("show buffers")) @classmethod def create_stream(cls, packet_sizes, packet_count=test_packet_count): @@ -486,10 +487,12 @@ class TestIPv6Reassembly(VppTestCase): self.vapi.ip_reassembly_set(timeout_ms=1000000, max_reassemblies=1000, expire_walk_interval_ms=10000, is_ip6=1) self.logger.debug(self.vapi.ppcli("show ip6-reassembly details")) + self.logger.debug(self.vapi.ppcli("show buffers")) def tearDown(self): super(TestIPv6Reassembly, self).tearDown() self.logger.debug(self.vapi.ppcli("show ip6-reassembly details")) + self.logger.debug(self.vapi.ppcli("show buffers")) @classmethod def create_stream(cls, packet_sizes, packet_count=test_packet_count): @@ -881,6 +884,7 @@ class TestIPv4ReassemblyLocalNode(VppTestCase): def tearDown(self): super(TestIPv4ReassemblyLocalNode, self).tearDown() self.logger.debug(self.vapi.ppcli("show ip4-reassembly details")) + self.logger.debug(self.vapi.ppcli("show buffers")) @classmethod def create_stream(cls, packet_count=test_packet_count): @@ -1008,6 +1012,7 @@ class TestFIFReassembly(VppTestCase): def tearDown(self): self.logger.debug(self.vapi.ppcli("show ip4-reassembly details")) self.logger.debug(self.vapi.ppcli("show ip6-reassembly details")) + self.logger.debug(self.vapi.ppcli("show buffers")) super(TestFIFReassembly, self).tearDown() def verify_capture(self, capture, ip_class, dropped_packet_indexes=[]): |