From ae337d7a093c4bf028cfa69404350f68c6bc2c0d Mon Sep 17 00:00:00 2001 From: Javier-Tan <47554099+Javier-Tan@users.noreply.github.com> Date: Sun, 19 Jan 2025 07:06:18 +0000 Subject: [PATCH] [common/reboot.py] Fix double reboot bug * Remove one of two reboots performed Signed-off-by: Javier Tan javiertan@microsoft.com --- tests/common/reboot.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/common/reboot.py b/tests/common/reboot.py index ff26fa207e..b2e8d60d91 100644 --- a/tests/common/reboot.py +++ b/tests/common/reboot.py @@ -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(