diff options
author | Neale Ranns <neale@graphiant.com> | 2022-08-09 03:03:29 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-08-11 06:54:16 +0000 |
commit | e22a7041626cf1ebee7534d84068d48e8671a6ab (patch) | |
tree | dc3a7f46c3a4aef4c3af20229d3df18fb5465f8a /test/test_mpls.py | |
parent | 93688d7341ada44755dc0432de3e3dbaaa8aa111 (diff) |
ip: Use .api declared error counters
Type: improvement
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I822ead1495edb96ee62e53dc5920aa6c565e3621
Diffstat (limited to 'test/test_mpls.py')
-rw-r--r-- | test/test_mpls.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_mpls.py b/test/test_mpls.py index 6e01a03aea1..846179765dc 100644 --- a/test/test_mpls.py +++ b/test/test_mpls.py @@ -1148,9 +1148,7 @@ class TestMPLS(VppTestCase): self.assertEqual(rx[ICMP].nexthopmtu, 9000 - 4) self.assertEqual( - self.statistics.get_err_counter( - "/err/mpls-frag/can't fragment this packet" - ), + self.statistics.get_err_counter("/err/mpls-frag/dont_fragment_set"), len(tx), ) # |