Merge pull request #8157 from kuldeepkash/multicast_pim_bsm

tests: Fix for blackhole test in test_mcast_pim_bsmp suite
This commit is contained in:
Mark Stapp 2021-02-26 11:48:17 -05:00 committed by GitHub
commit ca7b6587b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -644,7 +644,6 @@ def test_BSR_CRP_with_blackhole_address_p1(request):
next_hop_lhr = topo["routers"]["i1"]["links"]["l1"]["ipv4"].split("/")[0] next_hop_lhr = topo["routers"]["i1"]["links"]["l1"]["ipv4"].split("/")[0]
input_dict = { input_dict = {
"f1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": NEXT_HOP1}]},
"i1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": next_hop_rp}]}, "i1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": next_hop_rp}]},
"l1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": next_hop_lhr}]}, "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 = { input_dict = {
"f1": { "f1": {
"static_routes": [ "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}
] ]
} }
} }