Skip to content

Commit 3850e85

Browse files
lolyumssonicbld
authored andcommitted
[dualtor] Fix testFdbMacLearning (sonic-net#16549)
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
1 parent 4c5b264 commit 3850e85

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/fdb/test_fdb_mac_learning.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
from tests.ptf_runner import ptf_runner
1010
from .utils import fdb_table_has_dummy_mac_for_interface
1111
from tests.common.helpers.ptf_tests_helper import upstream_links # noqa F401
12+
from tests.common.dualtor.mux_simulator_control import toggle_all_simulator_ports_to_rand_selected_tor_m # noqa F401
13+
1214

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

235237
def testFdbMacLearning(self, ptfadapter, duthosts, rand_one_dut_hostname, ptfhost, tbinfo, request, prepare_test,
236-
upstream_links, setup_standby_ports_on_rand_unselected_tor_unconditionally): # noqa F811
238+
upstream_links, setup_standby_ports_on_rand_unselected_tor_unconditionally, # noqa F811
239+
toggle_all_simulator_ports_to_rand_selected_tor_m): # noqa F811
237240
"""
238241
TestFdbMacLearning verifies stale MAC entries are not present in MAC table after doing sonic-clear fdb all
239242
-shut down all ports

0 commit comments

Comments
 (0)