Skip to content

Commit 3e50c08

Browse files
authored
[dualtor] Fix testFdbMacLearning (#16549)
Signed-off-by: Longxiang Lyu <[email protected]>
1 parent 0ee1e60 commit 3e50c08

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')
@@ -234,7 +236,8 @@ def bringup_uplink_ports(self, duthost, upstream_links): # noqa F811
234236
duthost.shell("sudo config interface startup {}".format(uplink_intf))
235237

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

0 commit comments

Comments
 (0)