mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 13:01:59 +00:00
tests: Fix test_multicast_pim_sm_topo3.py from generating a support bundle
The test_multicast_pim_sm_topo3.py test is both spending extra time looking for state that will never occurr but also generating a support bundle when it doesn't find it. Fix the test to come to the correct solution faster. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
d6d890a656
commit
184ab61ee3
@ -2834,9 +2834,7 @@ def test_mroute_after_removing_RP_sending_IGMP_prune_p2(request):
|
||||
|
||||
intf_f1_i8 = topo["routers"]["f1"]["links"]["i8"]["interface"]
|
||||
input_traffic = {"f1": {"traffic_sent": [intf_f1_i8]}}
|
||||
traffic_before = verify_multicast_traffic(
|
||||
tgen, input_traffic, return_traffic=True, expected=False
|
||||
)
|
||||
traffic_before = verify_multicast_traffic(tgen, input_traffic, return_traffic=True)
|
||||
assert isinstance(traffic_before, dict), (
|
||||
"Testcase {} : Failed \n traffic_before is not dictionary \n "
|
||||
"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"]
|
||||
input_traffic = {"f1": {"traffic_sent": [intf_f1_i8]}}
|
||||
traffic_after = verify_multicast_traffic(
|
||||
tgen, input_traffic, return_traffic=True, expected=False
|
||||
)
|
||||
traffic_after = verify_multicast_traffic(tgen, input_traffic, return_traffic=True)
|
||||
assert isinstance(traffic_after, dict), (
|
||||
"Testcase {} : Failed \n traffic_after is not dictionary \n "
|
||||
"Error: {}".format(tc_name, result)
|
||||
|
Loading…
Reference in New Issue
Block a user