From 56be7c7ed1384127c7caa5317e6de90c0f4c223f Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 23 Sep 2021 15:04:24 +0200 Subject: [PATCH] tests: add one more BSR check to pim_bsmp_01 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 --- .../multicast_pim_bsm_topo1/test_mcast_pim_bsmp_01.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/topotests/multicast_pim_bsm_topo1/test_mcast_pim_bsmp_01.py b/tests/topotests/multicast_pim_bsm_topo1/test_mcast_pim_bsmp_01.py index a94dcb505..38560c06e 100644 --- a/tests/topotests/multicast_pim_bsm_topo1/test_mcast_pim_bsmp_01.py +++ b/tests/topotests/multicast_pim_bsm_topo1/test_mcast_pim_bsmp_01.py @@ -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) -- 2.39.5