Skip to content

Commit

Permalink
chore: bump BFD toggle wait timeout (sonic-net#15939)
Browse files Browse the repository at this point in the history
Description of PR
Bump the BFD toggle wait timeout to 450 seconds to give BFD session enough time to go up/down.

Summary:
Fixes # (issue) Microsoft ADO 30112171

Approach
What is the motivation for this PR?
We noticed that 300 seconds is not enough for BFD session to go up/down, so Cisco suggested us to bump it to 450 seconds.
  • Loading branch information
cyw233 authored and mssonicbld committed Dec 11, 2024
1 parent 422856c commit 45a134a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bfd/bfd_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def prepare_bfd_state(dut, flag, expected_bfd_state):
def verify_bfd_only(dut, nexthops, asic, expected_bfd_state):
logger.info("BFD verifications")
assert wait_until(
300,
450,
10,
0,
lambda: verify_bfd_state(dut, nexthops.values(), asic, expected_bfd_state),
Expand Down Expand Up @@ -715,7 +715,7 @@ def verify_given_bfd_state(asic_next_hops, port_channel, asic_index, dut, expect

def wait_until_given_bfd_down(next_hops, port_channel, asic_index, dut):
assert wait_until(
300,
450,
10,
0,
lambda: verify_given_bfd_state(next_hops, port_channel, asic_index, dut, "Down"),
Expand Down

0 comments on commit 45a134a

Please sign in to comment.