Skip to content
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
1 change: 1 addition & 0 deletions tests/common/reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ def reboot(duthost, localhost, reboot_type='cold', delay=10,

# Use an alternative reboot check if T2 device and REBOOT_TYPE_POWEROFF
if duthost.get_facts().get("modular_chassis") and reboot_type == REBOOT_TYPE_POWEROFF:
wait_until(120, 5, 0, duthost.critical_processes_running, "database")
curr_reboot_cause_history = duthost.show_and_parse("show reboot-cause history")
pytest_assert(prev_reboot_cause_history != curr_reboot_cause_history, "No new input into history-queue")
else:
Expand Down