tests: Delay initial OPEN after we do clear bgp

Under some circumstances it might happen that the session is quickly UP in the
middle of `clear bgp ...` and `shutdown`. That leads to session be UP, and
the stale routes being cleared quickly.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2024-07-24 14:30:32 +03:00
parent aa9d66e922
commit 91e67abb61
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ router bgp 65001
bgp graceful-restart
neighbor 192.168.255.2 remote-as external
neighbor 192.168.255.2 timers 1 3
neighbor 192.168.255.2 timers connect 1
neighbor 192.168.255.2 timers delayopen 10
address-family ipv4
redistribute connected
exit-address-family

View File

@ -4,7 +4,7 @@ router bgp 65002
bgp graceful-restart
neighbor 192.168.255.1 remote-as external
neighbor 192.168.255.1 timers 1 3
neighbor 192.168.255.1 timers connect 1
neighbor 192.168.255.1 timers delayopen 10
address-family ipv4
redistribute connected
exit-address-family