l2: l2bd nd termination test instability 92/22992/3
authorOle Troan <ot@cisco.com>
Fri, 25 Oct 2019 15:03:54 +0000 (17:03 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Sat, 26 Oct 2019 20:23:58 +0000 (20:23 +0000)
The test for ND event suppression reused the previous test run
ipv6 address, and would sometimes consider that a duplicate,
and therefore suppressing that one too.

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I1b115aa4eba9d57770fa03fcf38b7a1c251cfe88

test/test_l2bd_arp_term.py

index bdf0a80..279dcf2 100644 (file)
@@ -467,7 +467,7 @@ class TestL2bdArpTerm(VppTestCase):
         """ L2BD ND term - send duplicate ns, verify suppression
         """
         dst_host = self.ip6_host(50, 50, "00:00:11:22:33:44")
-        macs = self.mac_list(range(10, 11))
+        macs = self.mac_list(range(16, 17))
         hosts = self.ip6_hosts(5, 1, macs)
         reqs = self.ns_reqs_dst(hosts, dst_host) * 5
         self.bd_swifs(1)[0].add_stream(reqs)