Skip to content

Commit

Permalink
Make test_reboot.py more stable on Cisco platform (sonic-net#12502)
Browse files Browse the repository at this point in the history
Description of PR
Summary:
Fixes test_reboot.py::test_continous_reboot more stable on Cisco platform

Approach
What is the motivation for this PR?
The testcase is flakey on Cisco platform because Cisco router reboot time > 300s

How did you do it?
Increase wait_for_startup timeout value from 300 to 600

How did you verify/test it?
Run with Cisco 8111 router.

Any platform specific information?
No impact to other platform.

co-authorized by: [email protected]
  • Loading branch information
wsycqyz authored May 14, 2024
1 parent ab2cff9 commit 066b742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/platform_tests/test_reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def reboot_and_check(localhost, dut, interfaces, xcvr_skip_list,
check_interfaces_and_services(dut, interfaces, xcvr_skip_list, reboot_type=reboot_type)
if dut.is_supervisor_node():
for lc in duthosts.frontend_nodes:
wait_for_startup(lc, localhost, delay=10, timeout=300)
wait_for_startup(lc, localhost, delay=10, timeout=600)
check_interfaces_and_services(lc, interfaces, xcvr_skip_list)


Expand Down

0 comments on commit 066b742

Please sign in to comment.