X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_neighbor.py;fp=test%2Ftest_neighbor.py;h=58d98a36d92234566926ae27fd5c3e888b5c1d3a;hb=114b154659fc647881d50d5bf1ae10c97090254e;hp=503b1f11456a8a21736623ee0cf5551487c167a9;hpb=59abf89dda5e0d216892af503898c1307aae0c3d;p=vpp.git diff --git a/test/test_neighbor.py b/test/test_neighbor.py index 503b1f11456..58d98a36d92 100644 --- a/test/test_neighbor.py +++ b/test/test_neighbor.py @@ -1762,6 +1762,10 @@ class ARPTestCase(VppTestCase): # self.pg2.configure_ipv4_neighbors() + cntr = self.statistics.get_err_counter( + "/err/arp-reply/l3_dst_address_not_local" + ) + for op in ["is-at", "who-has"]: p1 = [ ( @@ -1793,7 +1797,7 @@ class ARPTestCase(VppTestCase): # they are all dropped because the subnet's don't match self.assertEqual( - 4, + cntr + 4, self.statistics.get_err_counter("/err/arp-reply/l3_dst_address_not_local"), )