Skip to content

Commit

Permalink
[common/reboot.py] Fix double reboot bug
Browse files Browse the repository at this point in the history
* Remove one of two reboots performed

Signed-off-by: Javier Tan [email protected]
  • Loading branch information
Javier-Tan committed Jan 19, 2025
1 parent 6814013 commit ae337d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/common/reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ def reboot(duthost, localhost, reboot_type='cold', delay=10,
duthost.command('sudo touch /dev/shm/test_reboot')
# Get reboot-cause history before reboot
prev_reboot_cause_history = duthost.show_and_parse("show reboot-cause history")
reboot_res, dut_datetime = perform_reboot(duthost, pool, reboot_command, reboot_helper, reboot_kwargs, reboot_type)

wait_conlsole_connection = 5
console_thread_res = pool.apply_async(
Expand Down

0 comments on commit ae337d7

Please sign in to comment.