mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +00:00
Merge pull request #10969 from donaldsharp/test_multicast_remove_support_bundle_collection
tests: Fix test_multicast_pim_sm_topo3.py from generating a support b…
This commit is contained in:
commit
5cc9af2a6d
@ -2834,9 +2834,7 @@ def test_mroute_after_removing_RP_sending_IGMP_prune_p2(request):
|
|||||||
|
|
||||||
intf_f1_i8 = topo["routers"]["f1"]["links"]["i8"]["interface"]
|
intf_f1_i8 = topo["routers"]["f1"]["links"]["i8"]["interface"]
|
||||||
input_traffic = {"f1": {"traffic_sent": [intf_f1_i8]}}
|
input_traffic = {"f1": {"traffic_sent": [intf_f1_i8]}}
|
||||||
traffic_before = verify_multicast_traffic(
|
traffic_before = verify_multicast_traffic(tgen, input_traffic, return_traffic=True)
|
||||||
tgen, input_traffic, return_traffic=True, expected=False
|
|
||||||
)
|
|
||||||
assert isinstance(traffic_before, dict), (
|
assert isinstance(traffic_before, dict), (
|
||||||
"Testcase {} : Failed \n traffic_before is not dictionary \n "
|
"Testcase {} : Failed \n traffic_before is not dictionary \n "
|
||||||
"Error: {}".format(tc_name, result)
|
"Error: {}".format(tc_name, result)
|
||||||
@ -2861,9 +2859,7 @@ def test_mroute_after_removing_RP_sending_IGMP_prune_p2(request):
|
|||||||
|
|
||||||
intf_f1_i8 = topo["routers"]["f1"]["links"]["i8"]["interface"]
|
intf_f1_i8 = topo["routers"]["f1"]["links"]["i8"]["interface"]
|
||||||
input_traffic = {"f1": {"traffic_sent": [intf_f1_i8]}}
|
input_traffic = {"f1": {"traffic_sent": [intf_f1_i8]}}
|
||||||
traffic_after = verify_multicast_traffic(
|
traffic_after = verify_multicast_traffic(tgen, input_traffic, return_traffic=True)
|
||||||
tgen, input_traffic, return_traffic=True, expected=False
|
|
||||||
)
|
|
||||||
assert isinstance(traffic_after, dict), (
|
assert isinstance(traffic_after, dict), (
|
||||||
"Testcase {} : Failed \n traffic_after is not dictionary \n "
|
"Testcase {} : Failed \n traffic_after is not dictionary \n "
|
||||||
"Error: {}".format(tc_name, result)
|
"Error: {}".format(tc_name, result)
|
||||||
@ -3274,8 +3270,6 @@ def test_prune_sent_to_LHR_and_FHR_when_PIMnbr_down_p2(request):
|
|||||||
intf_r2_l1 = topo["routers"]["r2"]["links"]["l1"]["interface"]
|
intf_r2_l1 = topo["routers"]["r2"]["links"]["l1"]["interface"]
|
||||||
shutdown_bringup_interface(tgen, "r2", intf_r2_l1, False)
|
shutdown_bringup_interface(tgen, "r2", intf_r2_l1, False)
|
||||||
|
|
||||||
app_helper.stop_host("i2")
|
|
||||||
|
|
||||||
step("Verify RP info after Shut the link from FHR to RP from RP node")
|
step("Verify RP info after Shut the link from FHR to RP from RP node")
|
||||||
dut = "l1"
|
dut = "l1"
|
||||||
rp_address = "1.0.5.17"
|
rp_address = "1.0.5.17"
|
||||||
@ -3426,8 +3420,6 @@ def test_prune_sent_to_LHR_and_FHR_when_PIMnbr_down_p2(request):
|
|||||||
|
|
||||||
step("Verify PIM Nbrs after Shut the link from FHR to RP from FHR node")
|
step("Verify PIM Nbrs after Shut the link from FHR to RP from FHR node")
|
||||||
|
|
||||||
app_helper.stop_host("i6")
|
|
||||||
|
|
||||||
step("Verify RP info after Shut the link from FHR to RP from FHR node")
|
step("Verify RP info after Shut the link from FHR to RP from FHR node")
|
||||||
dut = "l1"
|
dut = "l1"
|
||||||
rp_address = "1.0.5.17"
|
rp_address = "1.0.5.17"
|
||||||
|
Loading…
Reference in New Issue
Block a user