aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_ip_mcast.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_ip_mcast.py b/test/test_ip_mcast.py
index 20079aa27d5..50ac01b8844 100644
--- a/test/test_ip_mcast.py
+++ b/test/test_ip_mcast.py
@@ -211,6 +211,9 @@ class TestIPMcast(VppTestCase):
self.pg0.assert_nothing_captured(
remark="IP multicast packets forwarded on default route")
+ count = self.statistics.get_err_counter(
+ "/err/ip4-input/Multicast RPF check failed")
+ self.assertEqual(count, len(tx))
#
# A (*,G).
@@ -510,6 +513,9 @@ class TestIPMcast(VppTestCase):
self.vapi.cli("clear trace")
tx = self.create_stream_ip6(self.pg1, "2002::1", "ff01:2::255")
self.send_and_assert_no_replies(self.pg1, tx, "RPF miss")
+ count = self.statistics.get_err_counter(
+ "/err/ip6-input/Multicast RPF check failed")
+ self.assertEqual(count, 2 * len(tx))
#
# a stream that matches the route for (*, ff01::/16)