]> git.puffer.fish Git - matthieu/frr.git/commit
tests: bfd_bgp_cbit_topo3 allow bgp to converge before testing
authorDonald Sharp <sharpd@nvidia.com>
Sat, 29 Jul 2023 17:26:26 +0000 (13:26 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 29 Jul 2023 17:39:37 +0000 (13:39 -0400)
commit940ac2a6fd53af0d62ebc2ccebc0185fe008ca86
tree12e477f892f10229fa06930f9563338c50a27fef
parente566e565c5ff7b5c28a43ba30ff888729d66d3df
tests: bfd_bgp_cbit_topo3 allow bgp to converge before testing

This test was failing upstream a bunch of times.  Upon examining
the log files as well as the test script it was noticed that
the bfd peers were checked to see that they had come up.  But
both the timers used for bgp as well as not checking that bgp
has actually come up would cause the test to fail in subsuquent
steps if bgp has not come up.  Test that bgp peering is actually
established before testing link down events.  It's possible
this test might need to be revisited to ensure that the routes
are actually installed and ready to go before as well, but I am
not seeing that right now.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/bfd_bgp_cbit_topo3/r1/bgpd.conf
tests/topotests/bfd_bgp_cbit_topo3/r3/bgpd.conf
tests/topotests/bfd_bgp_cbit_topo3/test_bfd_bgp_cbit_topo3.py