Skip to content

Commit

Permalink
[platform_tests/test_power_off_reboot.py] Make it so not only Cisco T…
Browse files Browse the repository at this point in the history
…2 devices get test_power_off_reboot.py fix

* Pass duthosts to reboot_and_check for non cisco T2 devices as well

Signed-off-by: Javier Tan javiertan@microsoft.com
  • Loading branch information
Javier-Tan committed Feb 11, 2025
1 parent 99e7690 commit e929856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/platform_tests/test_power_off_reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_power_off_reboot(duthosts, localhost, enum_supervisor_dut_hostname, con
poweroff_reboot_kwargs = {"dut": duthost}

try:
if is_chassis and duthost.facts["asic_type"] in ["cisco-8000"]:
if is_chassis:
poweroff_reboot_kwargs["pdu_ctrl"] = pdu_ctrl
poweroff_reboot_kwargs["all_outlets"] = all_outlets
poweroff_reboot_kwargs["power_on_seq"] = all_outlets
Expand Down

0 comments on commit e929856

Please sign in to comment.