From: Donatas Abraitis Date: Wed, 24 Jul 2024 11:30:32 +0000 (+0300) Subject: tests: Delay initial OPEN after we do `clear bgp` X-Git-Tag: base_10.2~248^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=91e67abb610d6d39d304c24b2233a38b8c26e08a;p=matthieu%2Ffrr.git 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 --- diff --git a/tests/topotests/bgp_gr_notification/r1/bgpd.conf b/tests/topotests/bgp_gr_notification/r1/bgpd.conf index 6119f67436..0af042f6be 100644 --- a/tests/topotests/bgp_gr_notification/r1/bgpd.conf +++ b/tests/topotests/bgp_gr_notification/r1/bgpd.conf @@ -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 diff --git a/tests/topotests/bgp_gr_notification/r2/bgpd.conf b/tests/topotests/bgp_gr_notification/r2/bgpd.conf index 05e17f0564..8325e21d2c 100644 --- a/tests/topotests/bgp_gr_notification/r2/bgpd.conf +++ b/tests/topotests/bgp_gr_notification/r2/bgpd.conf @@ -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