diff --git a/tests/common/config_reload.py b/tests/common/config_reload.py index b522a343b9..f481ba16bc 100644 --- a/tests/common/config_reload.py +++ b/tests/common/config_reload.py @@ -3,7 +3,7 @@ import os from tests.common.helpers.assertions import pytest_assert -from tests.common.plugins.loganalyzer.utils import ignore_loganalyzer +from tests.common.plugins.loganalyzer.utils import support_ignore_loganalyzer from tests.common.platform.processes_utils import wait_critical_processes from tests.common.utilities import wait_until from tests.common.configlet.utils import chk_for_pfc_wd @@ -112,7 +112,7 @@ def pfcwd_feature_enabled(duthost): return pfc_status == 'enable' and switch_role not in ['MgmtToRRouter', 'BmcMgmtToRRouter'] -@ignore_loganalyzer +@support_ignore_loganalyzer def config_reload(sonic_host, config_source='config_db', wait=120, start_bgp=True, start_dynamic_buffer=True, safe_reload=False, wait_before_force_reload=0, wait_for_bgp=False, check_intf_up_ports=False, traffic_shift_away=False, override_config=False, diff --git a/tests/common/plugins/loganalyzer/utils.py b/tests/common/plugins/loganalyzer/utils.py index f9d1f9596f..cecd865149 100644 --- a/tests/common/plugins/loganalyzer/utils.py +++ b/tests/common/plugins/loganalyzer/utils.py @@ -1,7 +1,7 @@ from functools import wraps -def ignore_loganalyzer(func): +def support_ignore_loganalyzer(func): @wraps(func) def decorated(*args, **kwargs): """ diff --git a/tests/common/reboot.py b/tests/common/reboot.py index 1d3e11600a..ddf88c1dfe 100644 --- a/tests/common/reboot.py +++ b/tests/common/reboot.py @@ -10,7 +10,7 @@ from .helpers.assertions import pytest_assert from .platform.interface_utils import check_interface_status_of_up_ports from .platform.processes_utils import wait_critical_processes -from .plugins.loganalyzer.utils import ignore_loganalyzer +from .plugins.loganalyzer.utils import support_ignore_loganalyzer from .utilities import wait_until, get_plt_reboot_ctrl from tests.common.helpers.dut_utils import ignore_t2_syslog_msgs, create_duthost_console, creds_on_dut from tests.common.fixtures.conn_graph_facts import get_graph_facts @@ -224,7 +224,7 @@ def execute_reboot_helper(): return [reboot_res, dut_datetime] -@ignore_loganalyzer +@support_ignore_loganalyzer def reboot(duthost, localhost, reboot_type='cold', delay=10, timeout=0, wait=0, wait_for_ssh=True, wait_warmboot_finalizer=False, warmboot_finalizer_timeout=0, reboot_helper=None, reboot_kwargs=None, return_after_reconnect=False,