]> git.puffer.fish Git - matthieu/frr.git/commit
tests: Ensure BGP has had time to import routes through the vpn
authorDonald Sharp <sharpd@nvidia.com>
Fri, 12 Nov 2021 15:52:03 +0000 (10:52 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 12 Nov 2021 18:24:04 +0000 (13:24 -0500)
commita22803a39b1e70cd87b931a6fb654d46d3299d03
treea3307f269658c7840038596546f26e6dd510e711
parent4378495a277d171dc0469acdd62771c8ab8c24c3
tests: Ensure BGP has had time to import routes through the vpn

Currently I get bgp_instance_del-test as well as bgp_l3vpn_to_bgp_vrf
failures every ~3-4 runs when under a 40 parallel run with micronet.
Examination of the failure and passing cases always leads to the
failures showing convergence of bgp bestpath immediately after
the show commands to ensure that the routes are there.

Modify the code to look for the fact that the vrf has
converged from routes being passed around across vrf's
and ensure that bestpath has run on them.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py