Skip to content

Commit

Permalink
[common/fixtures/duthost_utils.py] Change wait_bgp_sessions increase …
Browse files Browse the repository at this point in the history
…to T2

* Change increase for timeout for supervisor nodes to increase for all T2 duts

Signed-off-by: Javier Tan [email protected]
  • Loading branch information
Javier-Tan committed Jan 14, 2025
1 parent d71f44b commit f12b953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common/fixtures/duthost_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def wait_bgp_sessions(duthost, timeout=120):
A helper function to wait bgp sessions on DUT
"""
bgp_neighbors = duthost.get_bgp_neighbors_per_asic(state="all")
if duthost.is_supervisor_node():
if duthost.get_facts().get("modular_chassis"):
timeout = 900
logging.info("Wait until all bgp sessions are up in {} sec"
.format(timeout))
Expand Down

0 comments on commit f12b953

Please sign in to comment.