3232MAX_WAIT_TIME_FOR_REBOOT_CAUSE = 120
3333
3434
35- @pytest .fixture
35+ @pytest .fixture ( scope = "module" , autouse = True )
3636def set_max_time_for_interfaces (duthost ):
3737 """
3838 For chassis testbeds, we need to specify plt_reboot_ctrl in inventory file,
@@ -147,7 +147,7 @@ def check_interfaces_and_services(dut, interfaces, xcvr_skip_list,
147147 return
148148
149149
150- def test_cold_reboot (duthosts , enum_rand_one_per_hwsku_hostname , set_max_time_for_interfaces ,
150+ def test_cold_reboot (duthosts , enum_rand_one_per_hwsku_hostname ,
151151 localhost , conn_graph_facts , xcvr_skip_list ): # noqa F811
152152 """
153153 @summary: This test case is to perform cold reboot and check platform status
@@ -217,7 +217,7 @@ def test_warm_reboot(duthosts, enum_rand_one_per_hwsku_hostname,
217217
218218
219219def test_watchdog_reboot (duthosts , enum_rand_one_per_hwsku_hostname ,
220- localhost , conn_graph_facts , set_max_time_for_interfaces , xcvr_skip_list ): # noqa F811
220+ localhost , conn_graph_facts , xcvr_skip_list ): # noqa F811
221221 """
222222 @summary: This test case is to perform reboot via watchdog and check platform status
223223 """
@@ -234,7 +234,7 @@ def test_watchdog_reboot(duthosts, enum_rand_one_per_hwsku_hostname,
234234
235235
236236def test_continuous_reboot (duthosts , enum_rand_one_per_hwsku_hostname ,
237- localhost , conn_graph_facts , set_max_time_for_interfaces , xcvr_skip_list ): # noqa F811
237+ localhost , conn_graph_facts , xcvr_skip_list ): # noqa F811
238238 """
239239 @summary: This test case is to perform 3 cold reboot in a row
240240 """
0 commit comments