mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-25 02:48:48 +00:00
bgp_multiview_topo1: Fix case of tests hanging if convergence is not successful.
- Part of a command was missing which caused a hang in cases when BGP didn't converge Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
parent
3eaafbd95d
commit
5b7a4ad33a
@ -237,7 +237,7 @@ def test_bgp_converge():
|
||||
break
|
||||
else:
|
||||
# Bail out with error if a router fails to converge
|
||||
bgpStatus = net['r%s' % i].cmd('show ip bgp view %s summary"')
|
||||
bgpStatus = net['r%s' % i].cmd('vtysh -c "show ip bgp view %s summary"' % view)
|
||||
assert False, "BGP did not converge:\n%s" % bgpStatus
|
||||
|
||||
# Wait for an extra 30s to announce all routes
|
||||
|
||||
Loading…
Reference in New Issue
Block a user