Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions tests/dualtor_io/test_link_failure.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@ def test_active_link_admin_down_config_reload_link_up_upstream(
@pytest.mark.skip_active_standby
def test_active_link_admin_down_config_reload_link_up_downstream_standby(
upper_tor_host, lower_tor_host, send_t1_to_server_with_action, # noqa F811
cable_type, active_active_ports, setup_loganalyzer # noqa F811
cable_type, active_active_ports, setup_loganalyzer, # noqa F811
link_down_downstream_active_duplication_setting # noqa F811
):
"""
Send traffic from T1 to standby ToR and unshut the active-active mux ports.
Expand Down Expand Up @@ -532,12 +533,17 @@ def test_active_link_admin_down_config_reload_link_up_downstream_standby(

# after config reload, it takes time to setup the zero-mac tunnel routes for
# the mux server ips, so there will be disruption before traffic.
allowed_duplication, merge_duplications = \
link_down_downstream_active_duplication_setting
send_t1_to_server_with_action(
upper_tor_host,
verify=True,
allowed_disruption=0,
action=lambda: config_interface_admin_status(upper_tor_host, active_active_ports, "up"),
allow_disruption_before_traffic=True
allow_disruption_before_traffic=True,
allowed_duplication=allowed_duplication,
merge_duplications_into_disruptions=merge_duplications,
delay=MUX_SIM_ALLOWED_DISRUPTION_SEC
)

verify_tor_states(
Expand Down
Loading