mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 03:44:01 +00:00
Merge pull request #16586 from donaldsharp/fix_route_scale_startup
tests: Fix route_scale startup issues
This commit is contained in:
commit
6de80911b0
@ -86,6 +86,23 @@ def scale_converge_protocols():
|
||||
if tgen.routers_have_failure():
|
||||
pytest.skip(tgen.errors)
|
||||
|
||||
logger.info("Ensuring that Connected Routes are actually installed")
|
||||
r1 = tgen.gears["r1"]
|
||||
expected = {
|
||||
"routes": [
|
||||
{"fib": 32, "rib": 32, "type": "connected"},
|
||||
{"fib": 32, "rib": 32, "type": "local"},
|
||||
],
|
||||
"routesTotal": 64,
|
||||
"routesTotalFib": 64,
|
||||
}
|
||||
|
||||
test_func = partial(
|
||||
topotest.router_json_cmp, r1, "show ip route summary json", expected
|
||||
)
|
||||
success, result = topotest.run_and_expect(test_func, None, 60, 1)
|
||||
assert success, "Connected routes are not properly installed:\n{}".format(result)
|
||||
|
||||
|
||||
def run_one_setup(r1, s):
|
||||
"Run one ecmp config"
|
||||
|
Loading…
Reference in New Issue
Block a user