Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
arp: update error reason when checking for proxy-arp
[vpp.git]
/
test
/
test_neighbor.py
diff --git
a/test/test_neighbor.py
b/test/test_neighbor.py
index
503b1f1
..
58d98a3
100644
(file)
--- a/
test/test_neighbor.py
+++ b/
test/test_neighbor.py
@@
-1762,6
+1762,10
@@
class ARPTestCase(VppTestCase):
#
self.pg2.configure_ipv4_neighbors()
#
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 = [
(
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(
# 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"),
)
self.statistics.get_err_counter("/err/arp-reply/l3_dst_address_not_local"),
)