Merge pull request #3649 from donaldsharp/increase_timeout

topotests: Modify bgp convergence to be more than 120 seconds
This commit is contained in:
Rafael Zalamena 2019-01-23 11:34:10 -02:00 committed by GitHub
commit ea0b310ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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