From 34641f2d29cb5273f4e959c6f0186c626855774e Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Wed, 22 May 2019 20:18:26 +0200 Subject: make test: fix bug due to concurrent commits Change-Id: I912745950fe6e3f1688ef66b430ef86cdddd04cd Signed-off-by: Klement Sekera --- test/test_reassembly.py | 8 ++++---- 1 file 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)""" -- cgit 1.2.3-korg