aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2019-05-22 20:18:26 +0200
committerDave Wallace <dwallacelf@gmail.com>2019-05-22 19:14:22 +0000
commit34641f2d29cb5273f4e959c6f0186c626855774e (patch)
tree4afe8627f387e03e0c9269771740dcaf2ef13bdd /test
parent1f37a7bd86bb027abf50a3e7a907e1d4d8ad9999 (diff)
make test: fix bug due to concurrent commits
Change-Id: I912745950fe6e3f1688ef66b430ef86cdddd04cd Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_reassembly.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_reassembly.py b/test/test_reassembly.py
index 05877fad66d..26ff7486b92 100644
--- a/test/test_reassembly.py
+++ b/test/test_reassembly.py
@@ -311,7 +311,7 @@ class TestIPv4Reassembly(TestIPReassemblyMixin, VppTestCase):
error_cnt_str = \
"/err/ip4-reassembly-feature/fragment chain too long (drop)"
- error_cnt = self.get_packet_counter(error_cnt_str)
+ error_cnt = self.statistics.get_err_counter(error_cnt_str)
self.vapi.ip_reassembly_set(timeout_ms=100, max_reassemblies=1000,
max_reassembly_length=3,
@@ -334,7 +334,7 @@ class TestIPv4Reassembly(TestIPReassemblyMixin, VppTestCase):
self.pg_start()
self.dst_if.get_capture(1)
- self.assert_packet_counter_equal(error_cnt_str, error_cnt + 1)
+ self.assert_error_counter_equal(error_cnt_str, error_cnt + 1)
def test_5737(self):
""" fragment length + ip header size > 65535 """
@@ -691,7 +691,7 @@ class TestIPv6Reassembly(TestIPReassemblyMixin, VppTestCase):
error_cnt_str = \
"/err/ip6-reassembly-feature/fragment chain too long (drop)"
- error_cnt = self.get_packet_counter(error_cnt_str)
+ error_cnt = self.statistics.get_err_counter(error_cnt_str)
self.vapi.ip_reassembly_set(timeout_ms=100, max_reassemblies=1000,
max_reassembly_length=3,
@@ -709,7 +709,7 @@ class TestIPv6Reassembly(TestIPReassemblyMixin, VppTestCase):
self.pg_start()
self.dst_if.get_capture(1)
- self.assert_packet_counter_equal(error_cnt_str, error_cnt + 1)
+ self.assert_error_counter_equal(error_cnt_str, error_cnt + 1)
def test_overlap1(self):
""" overlapping fragments case #1 (differs from IP test case)"""