Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Ensure bgp suppress fib has a chance to transmit data to peer #16682

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_bgp_better_admin_won():
topotest.router_json_cmp, r3, "show ip route 40.0.0.0 json", expected
)

_, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5)
_, result = topotest.run_and_expect(test_func, None, count=30, wait=1)
assertmsg = '"r3" route to 40.0.0.0 should have been lost'
assert result is None, assertmsg

Expand All @@ -155,7 +155,7 @@ def test_bgp_better_admin_won():
"show ip route 40.0.0.0 json",
expected,
)
_, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5)
_, result = topotest.run_and_expect(test_func, None, count=30, wait=1)
assertmsg = '"r3" route to 40.0.0.0 did not come back'
assert result is None, assertmsg

Expand Down Expand Up @@ -196,7 +196,7 @@ def test_bgp_allow_as_in():
expected,
)

_, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5)
_, result = topotest.run_and_expect(test_func, None, count=30, wait=1)
assertmsg = '"r1" 192.168.1.1/32 route should have arrived'
assert result is None, assertmsg

Expand All @@ -212,7 +212,7 @@ def test_bgp_allow_as_in():
expected,
)

_, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5)
_, result = topotest.run_and_expect(test_func, None, count=30, wait=1)
assertmsg = '"r2" 192.168.1.1/32 route should be gone'
assert result is None, assertmsg

Expand Down
Loading