Skip to content
Merged
Show file tree
Hide file tree
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/platform_tests/test_power_off_reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
INTERFACE_WAIT_TIME = 300


@pytest.fixture
@pytest.fixture(scope="module", autouse=True)
def set_max_time_for_interfaces(duthost):
"""
For chassis testbeds, we need to specify plt_reboot_ctrl in inventory file,
Expand Down Expand Up @@ -61,7 +61,7 @@ def _power_off_reboot_helper(kwargs):


def test_power_off_reboot(duthosts, localhost, enum_supervisor_dut_hostname, conn_graph_facts,
set_max_time_for_interfaces, xcvr_skip_list, pdu_controller, power_off_delay):
xcvr_skip_list, pdu_controller, power_off_delay):
"""
@summary: This test case is to perform reboot via powercycle and check platform status
@param duthost: Fixture for DUT AnsibleHost object
Expand Down
8 changes: 4 additions & 4 deletions tests/platform_tests/test_reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
MAX_WAIT_TIME_FOR_REBOOT_CAUSE = 120


@pytest.fixture
@pytest.fixture(scope="module", autouse=True)
def set_max_time_for_interfaces(duthost):
"""
For chassis testbeds, we need to specify plt_reboot_ctrl in inventory file,
Expand Down Expand Up @@ -147,7 +147,7 @@ def check_interfaces_and_services(dut, interfaces, xcvr_skip_list,
return


def test_cold_reboot(duthosts, enum_rand_one_per_hwsku_hostname, set_max_time_for_interfaces,
def test_cold_reboot(duthosts, enum_rand_one_per_hwsku_hostname,
localhost, conn_graph_facts, xcvr_skip_list): # noqa F811
"""
@summary: This test case is to perform cold reboot and check platform status
Expand Down Expand Up @@ -217,7 +217,7 @@ def test_warm_reboot(duthosts, enum_rand_one_per_hwsku_hostname,


def test_watchdog_reboot(duthosts, enum_rand_one_per_hwsku_hostname,
localhost, conn_graph_facts, set_max_time_for_interfaces, xcvr_skip_list): # noqa F811
localhost, conn_graph_facts, xcvr_skip_list): # noqa F811
"""
@summary: This test case is to perform reboot via watchdog and check platform status
"""
Expand All @@ -234,7 +234,7 @@ def test_watchdog_reboot(duthosts, enum_rand_one_per_hwsku_hostname,


def test_continuous_reboot(duthosts, enum_rand_one_per_hwsku_hostname,
localhost, conn_graph_facts, set_max_time_for_interfaces, xcvr_skip_list): # noqa F811
localhost, conn_graph_facts, xcvr_skip_list): # noqa F811
"""
@summary: This test case is to perform 3 cold reboot in a row
"""
Expand Down