summaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/framework.py b/test/framework.py
index 242a0798212..f82f0750387 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -918,7 +918,7 @@ class VppTestCase(unittest.TestCase):
def assert_packet_counter_equal(self, counter, expected_value):
counters = self.vapi.cli("sh errors").split('\n')
counter_value = -1
- for i in range(1, len(counters) - 1):
+ for i in range(1, len(counters)):
results = counters[i].split()
if results[1] == counter:
counter_value = int(results[0])