From 91e67abb610d6d39d304c24b2233a38b8c26e08a Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Wed, 24 Jul 2024 14:30:32 +0300 Subject: [PATCH] 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 --- tests/topotests/bgp_gr_notification/r1/bgpd.conf | 2 +- tests/topotests/bgp_gr_notification/r2/bgpd.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5