Permalink
Browse files

Merge pull request #3649 from donaldsharp/increase_timeout

topotests: Modify bgp convergence to be more than 120 seconds
  • Loading branch information...
rzalamena committed Jan 23, 2019
2 parents 313731a + 848b4fc commit ea0b310ccdfb18541af82b144561bee9d3114c7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/topotests/bfd-topo1/test_bfd_topo1.py
@@ -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

0 comments on commit ea0b310

Please sign in to comment.