summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-08-30 19:36:36 -0400
committerGitHub <noreply@github.com>2024-08-30 19:36:36 -0400
commit928430a533c634db3bbb5d9d84bcd29d2d244bc8 (patch)
treebd49aedf33276cd203abd4e80c07b97d9b829c8a
parent3bf73b8d28e488d8cbdc6871e6616059cfea1c62 (diff)
parentf671594cd1ed24f67e966e154f2a8dcac86c5e89 (diff)
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)
-rw-r--r--tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py b/tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py
index fd8a78b485..c1363dcc1f 100644
--- a/tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py
+++ b/tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py
@@ -141,7 +141,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
@@ -156,7 +156,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
@@ -197,7 +197,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
@@ -213,7 +213,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