diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-07-27 09:47:03 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-08-06 10:38:41 -0300 |
| commit | e17e248b2a57e1be4b929b84bc3df49e4ef37acf (patch) | |
| tree | 9ee8d4d934abe7ecee4ab1a514e8f69332375f10 | |
| parent | 4000805713a1f6305320b6711af3eeaf211110b0 (diff) | |
topotests: reduce convergence check frequency
Check for convergence less frequently to reduce resources usage.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
| -rw-r--r-- | tests/topotests/bfd_topo2/test_bfd_topo2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/bfd_topo2/test_bfd_topo2.py b/tests/topotests/bfd_topo2/test_bfd_topo2.py index 83326a9ed5..2cc12bc7b0 100644 --- a/tests/topotests/bfd_topo2/test_bfd_topo2.py +++ b/tests/topotests/bfd_topo2/test_bfd_topo2.py @@ -130,7 +130,7 @@ def test_protocols_convergence(): test_func = partial( topotest.router_json_cmp, router, "show ip route json", expected ) - _, result = topotest.run_and_expect(test_func, None, count=160, wait=0.5) + _, result = topotest.run_and_expect(test_func, None, count=40, wait=2) assertmsg = '"{}" JSON output mismatches'.format(router.name) assert result is None, assertmsg @@ -146,7 +146,7 @@ def test_protocols_convergence(): test_func = partial( topotest.router_json_cmp, router, "show ipv6 route json", expected ) - _, result = topotest.run_and_expect(test_func, None, count=160, wait=0.5) + _, result = topotest.run_and_expect(test_func, None, count=40, wait=2) assertmsg = '"{}" JSON output mismatches'.format(router.name) assert result is None, assertmsg |
