mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 15:23:39 +00:00
Merge pull request #16705 from FRRouting/mergify/bp/stable/10.0/pr-16682
tests: Ensure bgp suppress fib has a chance to transmit data to peer (backport #16682)
This commit is contained in:
commit
928430a533
@ -141,7 +141,7 @@ def test_bgp_better_admin_won():
|
|||||||
topotest.router_json_cmp, r3, "show ip route 40.0.0.0 json", expected
|
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'
|
assertmsg = '"r3" route to 40.0.0.0 should have been lost'
|
||||||
assert result is None, assertmsg
|
assert result is None, assertmsg
|
||||||
|
|
||||||
@ -156,7 +156,7 @@ def test_bgp_better_admin_won():
|
|||||||
"show ip route 40.0.0.0 json",
|
"show ip route 40.0.0.0 json",
|
||||||
expected,
|
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'
|
assertmsg = '"r3" route to 40.0.0.0 did not come back'
|
||||||
assert result is None, assertmsg
|
assert result is None, assertmsg
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ def test_bgp_allow_as_in():
|
|||||||
expected,
|
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'
|
assertmsg = '"r1" 192.168.1.1/32 route should have arrived'
|
||||||
assert result is None, assertmsg
|
assert result is None, assertmsg
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ def test_bgp_allow_as_in():
|
|||||||
expected,
|
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'
|
assertmsg = '"r2" 192.168.1.1/32 route should be gone'
|
||||||
assert result is None, assertmsg
|
assert result is None, assertmsg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user