]> git.puffer.fish Git - matthieu/frr.git/commit
tests: Change up start order of bmp tests
authorDonald Sharp <sharpd@nvidia.com>
Fri, 21 Mar 2025 22:08:25 +0000 (18:08 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 21 Mar 2025 22:08:25 +0000 (18:08 -0400)
commit2daa1e20746507d6e65d7420c13294a574b5fbbb
treeeb4d3d4017dbc08482b5e646f02abfd026333059
parent2b9585a36cf4cec22c1b4f2af7b5a459c39ff7cf
tests: Change up start order of bmp tests

Currently the tests appear to do this:
a) Start the neighbors
b) Start the bmp server connection
c) Look for the neighbors up
d) Look for the neighbor up messages in the bmp log

This is not great from a testing perspective in that
even though we started a) first it may not happen
until after b) happens.  Or even worse if it is
partially up ( 1 of the 2 peers ) then the dump
will have the neighbor connecting after parts
of the table.  This doesn't work too well because
the SEQ number is something that is kept and compared
to to make sure only new data is being looked at.

Let's modify the startup configuration to start
the bmp server first and then have a delayopen
on the bgp neighbor statements so that the bmp
peering can come up first.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/bgp_bmp/r1/frr.conf
tests/topotests/bgp_bmp/r2/frr.conf
tests/topotests/bgp_bmp/r3/frr.conf