diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-01-16 14:29:49 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-01-16 14:29:49 +0100 |
commit | e1713aa16dcbc00718adac5eb5df38fd73ae7186 (patch) | |
tree | 96c5a770bc33c9c7d47655bdd31672cd956dc7e9 /tests/topotests/lib/bgp.py | |
parent | Merge pull request #7878 from opensourcerouting/ldpd-metric-issue (diff) | |
download | frr-e1713aa16dcbc00718adac5eb5df38fd73ae7186.tar.xz frr-e1713aa16dcbc00718adac5eb5df38fd73ae7186.zip |
tests: Set default timers to 3/10 for bgp using create_router_bgp
Tests were timing out in our test system due to lost packets and
flakiness of the lower end systems. Just set the timers to 3/10
and give them plenty of time to converge.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/lib/bgp.py')
-rw-r--r-- | tests/topotests/lib/bgp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/lib/bgp.py b/tests/topotests/lib/bgp.py index 68a7217dd..22602cb46 100644 --- a/tests/topotests/lib/bgp.py +++ b/tests/topotests/lib/bgp.py @@ -692,8 +692,8 @@ def __create_bgp_neighbor(topo, input_dict, router, addr_type, add_neigh=True): config_data.append("{} activate".format(neigh_cxt)) disable_connected = peer.setdefault("disable_connected_check", False) - keep_alive = peer.setdefault("keepalivetimer", 60) - hold_down = peer.setdefault("holddowntimer", 180) + keep_alive = peer.setdefault("keepalivetimer", 3) + hold_down = peer.setdefault("holddowntimer", 10) password = peer.setdefault("password", None) no_password = peer.setdefault("no_password", None) max_hop_limit = peer.setdefault("ebgp_multihop", 1) |