]> git.proxmox.com Git - mirror_frr.git/commit
tests: Fix bgp_ecmp_topo3 to look for a bit more state
authorDonald Sharp <sharpd@nvidia.com>
Fri, 22 Oct 2021 18:20:16 +0000 (14:20 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 22 Oct 2021 18:47:49 +0000 (14:47 -0400)
commit1430ea83da59492e81297242696f3a65ade245d6
tree638cd0bda3f6060a09fff5a55d99ff01a13529b1
parente5369c471b46c081dc4a2fc8bf114910797c089f
tests: Fix bgp_ecmp_topo3 to look for a bit more state

During a local CI run, bgp_ecmp_topo3 was failing
to properly notice the fast-convergence command
issued before the interface is shut down.  As
such there exists a race condition where under
high load the zebra process can actually shut
an interface down before we have properly ensured
that fast convergence is on for ibgp.

Modify the test for in two ways:

1) Ensure that previous section makes sure
that we have properly converged for when we
bring back up the interfaces instead of
assuming that we have done so.

2) After issuing the fast-convergence command.
Ensure that bgp has fully processed it and is
ready to receive the interface down events
as triggers for shutting down the ibgp session.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/bgp_ecmp_topo3/test_ibgp_ecmp_topo3.py