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: 10 additions & 0 deletions tests/iface_namingmode/test_iface_namingmode.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ def skip_test_for_multi_asic(duthosts, enum_rand_one_per_hwsku_frontend_hostname
pytest.skip('CLI command not supported')


@pytest.fixture(autouse=True)
def ignore_expected_loganalyzer_exception(duthosts, enum_rand_one_per_hwsku_frontend_hostname, loganalyzer):
if loganalyzer:
ignore_regex_list = [
".* ERR syncd#syncd: :- collectData: Failed to get stats of Port Counter.*"
]
duthost = duthosts[enum_rand_one_per_hwsku_frontend_hostname]
loganalyzer[duthost.hostname].ignore_regex.extend(ignore_regex_list)


@pytest.fixture(scope='module', autouse=True)
def setup(duthosts, enum_rand_one_per_hwsku_frontend_hostname, tbinfo):
"""
Expand Down
Loading