3636MAX_WAIT_TIME_FOR_REBOOT_CAUSE = 120
3737
3838
39- @pytest .fixture
39+ @pytest .fixture ( scope = "module" , autouse = True )
4040def set_max_time_for_interfaces (duthost ):
4141 """
4242 For chassis testbeds, we need to specify plt_reboot_ctrl in inventory file,
@@ -142,7 +142,7 @@ def check_interfaces_and_services(dut, interfaces, xcvr_skip_list,
142142 return
143143
144144
145- def test_cold_reboot (duthosts , enum_rand_one_per_hwsku_hostname , set_max_time_for_interfaces ,
145+ def test_cold_reboot (duthosts , enum_rand_one_per_hwsku_hostname ,
146146 localhost , conn_graph_facts , xcvr_skip_list ): # noqa F811
147147 """
148148 @summary: This test case is to perform cold reboot and check platform status
@@ -202,7 +202,7 @@ def test_warm_reboot(duthosts, enum_rand_one_per_hwsku_hostname, localhost, conn
202202
203203
204204def test_watchdog_reboot (duthosts , enum_rand_one_per_hwsku_hostname ,
205- localhost , conn_graph_facts , set_max_time_for_interfaces , xcvr_skip_list ): # noqa F811
205+ localhost , conn_graph_facts , xcvr_skip_list ): # noqa F811
206206 """
207207 @summary: This test case is to perform reboot via watchdog and check platform status
208208 """
@@ -216,7 +216,7 @@ def test_watchdog_reboot(duthosts, enum_rand_one_per_hwsku_hostname,
216216
217217
218218def test_continuous_reboot (duthosts , enum_rand_one_per_hwsku_hostname ,
219- localhost , conn_graph_facts , set_max_time_for_interfaces , xcvr_skip_list ): # noqa F811
219+ localhost , conn_graph_facts , xcvr_skip_list ): # noqa F811
220220 """
221221 @summary: This test case is to perform 3 cold reboot in a row
222222 """
0 commit comments