summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2023-07-29 11:46:54 -0300
committerRenato Westphal <renato@opensourcerouting.org>2023-07-29 14:18:39 -0300
commit2dd4cad60b4af35f93ea97c169b281e821471dbf (patch)
tree916b5e8ce9de7a3126c22df82afe3084b6db7560 /tests
parent174a3d1b6e075257e3020c7255da2ac70dc526f2 (diff)
tests: increase wait timer in TI-LFA topotest
Starting from step 11, this topotest focuses on validating the TI-LFA switchover functionality, where the backup nexthops are activated after an adjacency expires, either with or without BFD. Currently, the test checks the RIB shortly after the switchover using a tight 5 seconds interval to ensure that the RIB update is due to the switchover and not an SPF update (which is configured with an initial delay of 15 seconds). However, it was observed that the kernel might take longer than 5 seconds to install routes when the system is under heavy load. To account for that, double the wait interval so that this topotest will succeed even in those conditions. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/topotests/isis_tilfa_topo1/test_isis_tilfa_topo1.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/topotests/isis_tilfa_topo1/test_isis_tilfa_topo1.py b/tests/topotests/isis_tilfa_topo1/test_isis_tilfa_topo1.py
index 2e1d009abe..e2bbf4588c 100755
--- a/tests/topotests/isis_tilfa_topo1/test_isis_tilfa_topo1.py
+++ b/tests/topotests/isis_tilfa_topo1/test_isis_tilfa_topo1.py
@@ -818,19 +818,19 @@ def test_rt6_step11():
rname,
"show ip route isis json",
outputs[rname][11]["show_ip_route.ref"],
- count=10,
+ count=20,
)
router_compare_json_output(
rname,
"show ipv6 route isis json",
outputs[rname][11]["show_ipv6_route.ref"],
- count=10,
+ count=20,
)
router_compare_json_output(
rname,
"show mpls table json",
outputs[rname][11]["show_mpls_table.ref"],
- count=10,
+ count=20,
)
@@ -1024,7 +1024,7 @@ def test_rt6_step14():
rname,
"show ip route isis json",
outputs[rname][11]["show_ip_route.ref"],
- count=10,
+ count=20,
)
router_compare_json_output(
rname,
@@ -1037,7 +1037,7 @@ def test_rt6_step14():
rname,
"show mpls table json",
outputs[rname][11]["show_mpls_table.ref"],
- count=10,
+ count=20,
)