From 2aef6bf5af9bb0d38f61ee1b26e50d2e3640ca5b Mon Sep 17 00:00:00 2001 From: Zhaohui Sun Date: Mon, 25 Sep 2023 13:52:39 +0000 Subject: [PATCH] Increate max timeout to 400s for checking critical services Signed-off-by: Zhaohui Sun --- tests/common/reboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/reboot.py b/tests/common/reboot.py index d0e6f381520..73657232c46 100644 --- a/tests/common/reboot.py +++ b/tests/common/reboot.py @@ -245,7 +245,7 @@ def reboot(duthost, localhost, reboot_type='cold', delay=10, # time it takes for containers to come back up. Therefore, add 5 # minutes to the maximum wait time. If it's ready sooner, then the # function will return sooner. - pytest_assert(wait_until(wait + 300, 20, 0, duthost.critical_services_fully_started), + pytest_assert(wait_until(wait + 400, 20, 0, duthost.critical_services_fully_started), "All critical services should be fully started!") wait_critical_processes(duthost)