Skip to content

Commit

Permalink
Increase wait time for link up post config reload/minigraph for modular
Browse files Browse the repository at this point in the history
chassis

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
  • Loading branch information
abdosi committed Aug 4, 2023
1 parent 402c17c commit fe770ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/common/config_reload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit fe770ed

Please sign in to comment.