mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 21:19:20 +00:00
tests: Allow a bit longer for bfd topo tests to synchronize
Allowing only 4 seconds for a bfd test to synchronize is going to run into problems on extremely loaded systems. The test system should value it actually converged over it actually converged in a reasonable time, especially on test systems that are loaded because of many multiples of tests running at the same time. If it is important to actually test that something got done by the RFC, the CI system as it is currently written is not the correct place for this. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
cb8018f4c3
commit
006ef829d8
@ -100,7 +100,7 @@ def test_bfd_connection():
|
||||
test_func = partial(
|
||||
topotest.router_json_cmp, router, "show bfd peers json", expected
|
||||
)
|
||||
_, result = topotest.run_and_expect(test_func, None, count=8, wait=0.5)
|
||||
_, result = topotest.run_and_expect(test_func, None, count=30, wait=0.5)
|
||||
assertmsg = '"{}" JSON output mismatches'.format(router.name)
|
||||
assert result is None, assertmsg
|
||||
|
||||
|
@ -144,7 +144,7 @@ def test_bfd_connection():
|
||||
test_func = partial(
|
||||
topotest.router_json_cmp, router, "show bfd peers json", expected
|
||||
)
|
||||
_, result = topotest.run_and_expect(test_func, None, count=8, wait=0.5)
|
||||
_, result = topotest.run_and_expect(test_func, None, count=30, wait=0.5)
|
||||
assertmsg = '"{}" JSON output mismatches'.format(router.name)
|
||||
assert result is None, assertmsg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user