From 5900cf46f700bf83b836200f285401ad40b98cb1 Mon Sep 17 00:00:00 2001 From: Kuldeep Kashyap Date: Thu, 25 Feb 2021 23:49:58 -0800 Subject: [PATCH] tests: Fix for blackhole test in test_mcast_pim_bsmp suite 1. Fixed for blackhole test in test_mcast_pim_bsmp suite Signed-off-by: Kuldeep Kashyap --- .../multicast-pim-bsm-topo1/test_mcast_pim_bsmp_01.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c670c82d21..ef01880381 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 @@ -644,7 +644,6 @@ def test_BSR_CRP_with_blackhole_address_p1(request): next_hop_lhr = topo["routers"]["i1"]["links"]["l1"]["ipv4"].split("/")[0] input_dict = { - "f1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": NEXT_HOP1}]}, "i1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": next_hop_rp}]}, "l1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": next_hop_lhr}]}, } @@ -706,7 +705,8 @@ def test_BSR_CRP_with_blackhole_address_p1(request): input_dict = { "f1": { "static_routes": [ - {"network": [BSR1_ADDR, CRP], "next_hop": "blackhole", "delete": True} + {"network": [BSR1_ADDR, CRP], "next_hop": "blackhole", "delete": True}, + {"network": BSR1_ADDR, "next_hop": NEXT_HOP1} ] } } -- 2.39.5