From 2c3d4b28bd1d3d5adf8814247f4483bf6334f155 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Mon, 28 Jun 2021 15:59:57 +0300 Subject: [PATCH] tests: Reduce bgp_conditional_advertisement converge time 10x ~15min vs. ~1min. Before: ``` 1 passed, 1 skipped in 908.61 seconds ``` After: ``` 1 passed, 1 skipped in 82.94 seconds ``` Signed-off-by: Donatas Abraitis --- tests/topotests/bgp_conditional_advertisement/r1/bgpd.conf | 1 + tests/topotests/bgp_conditional_advertisement/r2/bgpd.conf | 1 + tests/topotests/bgp_conditional_advertisement/r3/bgpd.conf | 1 + 3 files changed, 3 insertions(+) diff --git a/tests/topotests/bgp_conditional_advertisement/r1/bgpd.conf b/tests/topotests/bgp_conditional_advertisement/r1/bgpd.conf index 633d1832fd..293b38c7e8 100644 --- a/tests/topotests/bgp_conditional_advertisement/r1/bgpd.conf +++ b/tests/topotests/bgp_conditional_advertisement/r1/bgpd.conf @@ -17,6 +17,7 @@ route-map DEF permit 10 ! router bgp 1 bgp log-neighbor-changes + bgp conditional-advertisement timer 5 no bgp ebgp-requires-policy neighbor 10.10.10.2 remote-as 2 ! diff --git a/tests/topotests/bgp_conditional_advertisement/r2/bgpd.conf b/tests/topotests/bgp_conditional_advertisement/r2/bgpd.conf index c6147fe658..82525fac64 100644 --- a/tests/topotests/bgp_conditional_advertisement/r2/bgpd.conf +++ b/tests/topotests/bgp_conditional_advertisement/r2/bgpd.conf @@ -32,6 +32,7 @@ route-map RMAP-2 deny 10 ! router bgp 2 bgp log-neighbor-changes + bgp conditional-advertisement timer 5 no bgp ebgp-requires-policy neighbor 10.10.10.1 remote-as 1 neighbor 10.10.20.3 remote-as 3 diff --git a/tests/topotests/bgp_conditional_advertisement/r3/bgpd.conf b/tests/topotests/bgp_conditional_advertisement/r3/bgpd.conf index 2f4f5068d8..f389f309a6 100644 --- a/tests/topotests/bgp_conditional_advertisement/r3/bgpd.conf +++ b/tests/topotests/bgp_conditional_advertisement/r3/bgpd.conf @@ -1,6 +1,7 @@ ! router bgp 3 bgp log-neighbor-changes + bgp conditional-advertisement timer 5 no bgp ebgp-requires-policy neighbor 10.10.20.2 remote-as 2 ! -- 2.39.5