mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:41:21 +00:00
topotests: Modify bgp convergence to be more than 120 seconds
Waiting 10 seconds for bgp convergence makes no sense, especially if the test system is under load and a node is started up before the node it is connecting to is up. We should wait for the full default of 120 seconds, plus a little time to ensure nothing is screwed up too much. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
b9c25a2a90
commit
848b4fc33b
@ -138,7 +138,7 @@ def test_bgp_convergence():
|
||||
expected = json.loads(open(ref_file).read())
|
||||
test_func = partial(topotest.router_json_cmp,
|
||||
router, 'show ip bgp summary json', expected)
|
||||
_, res = topotest.run_and_expect(test_func, None, count=20, wait=0.5)
|
||||
_, res = topotest.run_and_expect(test_func, None, count=125, wait=1.0)
|
||||
assertmsg = '{}: bgp did not converge'.format(router.name)
|
||||
assert res is None, assertmsg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user