From fe770ed4d6a8d7265e70df8f1bf5dc3576b762dc Mon Sep 17 00:00:00 2001 From: Abhishek Dosi Date: Fri, 4 Aug 2023 22:53:08 +0000 Subject: [PATCH] Increase wait time for link up post config reload/minigraph for modular chassis Signed-off-by: Abhishek Dosi --- tests/common/config_reload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/common/config_reload.py b/tests/common/config_reload.py index b69a3f73c02..5df6f7c50d5 100644 --- a/tests/common/config_reload.py +++ b/tests/common/config_reload.py @@ -141,7 +141,8 @@ def _config_reload_cmd_wrapper(cmd, executable): "PFC_WD is missing in CONFIG-DB") if check_intf_up_ports: - pytest_assert(wait_until(300, 20, 0, check_interface_status_of_up_ports, sonic_host), + link_up_wait_time = 360 if modular_chassis else 300 + pytest_assert(wait_until(link_up_wait_time, 20, 0, check_interface_status_of_up_ports, sonic_host), "Not all ports that are admin up on are operationally up") else: time.sleep(wait)