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

Fix syslog test failure about fixture tbinfo #13821

Merged
merged 5 commits into from
Sep 2, 2024
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
4 changes: 2 additions & 2 deletions tests/syslog/test_logrotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from tests.common import config_reload
from tests.common.helpers.assertions import pytest_assert
from tests.common.utilities import wait_until
from tests.conftest import tbinfo

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -259,7 +258,8 @@ def no_pending_entries(duthost, ignore_list=None):


@pytest.fixture
def orch_logrotate_setup(duthosts, enum_rand_one_per_hwsku_frontend_hostname, enum_rand_one_frontend_asic_index):
def orch_logrotate_setup(duthosts, enum_rand_one_per_hwsku_frontend_hostname, tbinfo,
enum_rand_one_frontend_asic_index):
duthost = duthosts[enum_rand_one_per_hwsku_frontend_hostname]
if duthost.sonichost.is_multi_asic:
asic_id = enum_rand_one_frontend_asic_index
Expand Down
Loading