]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: add one more BSR check to pim_bsmp_01
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 23 Sep 2021 13:04:24 +0000 (15:04 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 17 Nov 2021 10:17:44 +0000 (11:17 +0100)
This is implicitly checked by the "verify mroute" below, but it's much
more helpful to explicitly check in advance.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
tests/topotests/multicast_pim_bsm_topo1/test_mcast_pim_bsmp_01.py

index a94dcb505a8f3acb4edbe9997b3dd203d657064a..38560c06e4b4d5d4a6ed36b3eb0c1e407794915f 100644 (file)
@@ -848,6 +848,10 @@ def test_new_router_fwd_p0(request):
     assert result is True, "Testcase {} :Failed \n Error {}".format(tc_name, result)
     do_countdown(5)
 
+    step("Verify again if BSR is installed from bsm forwarded by i1")
+    result = verify_pim_bsr(tgen, topo, "l1", bsr_ip)
+    assert result is True, "Testcase {} :Failed \n Error {}".format(tc_name, result)
+
     # Verify ip mroute populated again
     step("Verify mroute again on l1 (lhr)")
     result = verify_ip_mroutes(tgen, "l1", src_addr, GROUP_ADDRESS, iif, oil)