summaryrefslogtreecommitdiff
path: root/tests/topotests/bfd_ospf_topo1
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-11-08 13:52:12 -0500
committerGitHub <noreply@github.com>2021-11-08 13:52:12 -0500
commite2b5cbf7a028f20a331380898af39765df344446 (patch)
tree6e918147e69cac971e2d08617fe0b34331de736a /tests/topotests/bfd_ospf_topo1
parentb7bd8fce85fd0e38f64b74c48f083e35dbd65fc8 (diff)
parent7b66f10e20c28b63441ba4a62664181e75f11b3a (diff)
Merge pull request #9995 from donaldsharp/bfd_ospf_topo1_convvergence
tests: bfd_ospf_topo1 expects unreasonable convergence times under load
Diffstat (limited to 'tests/topotests/bfd_ospf_topo1')
-rwxr-xr-xtests/topotests/bfd_ospf_topo1/test_bfd_ospf_topo1.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/topotests/bfd_ospf_topo1/test_bfd_ospf_topo1.py b/tests/topotests/bfd_ospf_topo1/test_bfd_ospf_topo1.py
index f35c20e16c..93a2339299 100755
--- a/tests/topotests/bfd_ospf_topo1/test_bfd_ospf_topo1.py
+++ b/tests/topotests/bfd_ospf_topo1/test_bfd_ospf_topo1.py
@@ -195,16 +195,16 @@ def test_bfd_ospf_interface_failure_rt2_step3():
# By default BFD provides a recovery time of 900ms plus jitter, so let's wait
# initial 2 seconds to let the CI not suffer.
- topotest.sleep(2, 'Wait for BFD down notification')
+ topotest.sleep(2, "Wait for BFD down notification")
router_compare_json_output(
"rt1", "show ip route ospf json", "step3/show_ip_route_rt2_down.ref", 10, 2
)
router_compare_json_output(
- "rt1", "show ipv6 route ospf json", "step3/show_ipv6_route_rt2_down.ref", 1, 0
+ "rt1", "show ipv6 route ospf json", "step3/show_ipv6_route_rt2_down.ref", 10, 2
)
router_compare_json_output(
- "rt1", "show bfd peers json", "step3/show_bfd_peers_rt2_down.ref", 1, 0
+ "rt1", "show bfd peers json", "step3/show_bfd_peers_rt2_down.ref", 10, 2
)
# Check recovery, this can take some time
@@ -234,15 +234,15 @@ def test_bfd_ospf_interface_failure_rt3_step3():
# By default BFD provides a recovery time of 900ms plus jitter, so let's wait
# initial 2 seconds to let the CI not suffer.
- topotest.sleep(2, 'Wait for BFD down notification')
+ topotest.sleep(2, "Wait for BFD down notification")
router_compare_json_output(
"rt1", "show ip route ospf json", "step3/show_ip_route_rt3_down.ref", 10, 2
)
router_compare_json_output(
- "rt1", "show ipv6 route ospf json", "step3/show_ipv6_route_rt3_down.ref", 1, 0
+ "rt1", "show ipv6 route ospf json", "step3/show_ipv6_route_rt3_down.ref", 10, 2
)
router_compare_json_output(
- "rt1", "show bfd peers json", "step3/show_bfd_peers_rt3_down.ref", 1, 0
+ "rt1", "show bfd peers json", "step3/show_bfd_peers_rt3_down.ref", 10, 2
)
# Check recovery, this can take some time