Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[action] [PR:16549] [dualtor] Fix testFdbMacLearning #16555

Merged
merged 1 commit into from
Jan 16, 2025
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
5 changes: 4 additions & 1 deletion tests/fdb/test_fdb_mac_learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
from tests.ptf_runner import ptf_runner
from .utils import fdb_table_has_dummy_mac_for_interface
from tests.common.helpers.ptf_tests_helper import upstream_links # noqa F401
from tests.common.dualtor.mux_simulator_control import toggle_all_simulator_ports_to_rand_selected_tor_m # noqa F401


pytestmark = [
pytest.mark.topology('t0')
Expand Down Expand Up @@ -233,7 +235,8 @@ def bringup_uplink_ports(self, duthost, upstream_links): # noqa F811
duthost.shell("sudo config interface startup {}".format(uplink_intf))

def testFdbMacLearning(self, ptfadapter, duthosts, rand_one_dut_hostname, ptfhost, tbinfo, request, prepare_test,
upstream_links, setup_standby_ports_on_rand_unselected_tor_unconditionally): # noqa F811
upstream_links, setup_standby_ports_on_rand_unselected_tor_unconditionally, # noqa F811
toggle_all_simulator_ports_to_rand_selected_tor_m): # noqa F811
"""
TestFdbMacLearning verifies stale MAC entries are not present in MAC table after doing sonic-clear fdb all
-shut down all ports
Expand Down
Loading