]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Reduce bgp_conditional_advertisement converge time 10x
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 28 Jun 2021 12:59:57 +0000 (15:59 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Thu, 15 Jul 2021 20:40:42 +0000 (23:40 +0300)
~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 <donatas.abraitis@gmail.com>
tests/topotests/bgp_conditional_advertisement/r1/bgpd.conf
tests/topotests/bgp_conditional_advertisement/r2/bgpd.conf
tests/topotests/bgp_conditional_advertisement/r3/bgpd.conf

index 633d1832fdd765c6aa32a7c421c11914912a220b..293b38c7e84c3077bb33f8212003a9af45e096e3 100644 (file)
@@ -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
  !
index c6147fe658c417ae4d8fc924f7e436086e1e7c72..82525fac64e89bdd3d7b52b2d7103cf1d8ba652a 100644 (file)
@@ -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
index 2f4f5068d8a5422d7ff3917c3ff93b8a6c6ccfbb..f389f309a626ab135031d21705fc90ea03961b5e 100644 (file)
@@ -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
  !