From: Martin Winter Date: Thu, 6 Apr 2017 07:34:43 +0000 (-0700) Subject: bgp_multiview_topo1: Fix case of tests hanging if convergence is not successful. X-Git-Tag: frr-7.1-dev~151^2~345 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5b7a4ad33a8d7adab667d069fb744dc038ca0ef4;p=matthieu%2Ffrr.git 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 --- diff --git a/tests/topotests/bgp_multiview_topo1/test_bgp_multiview_topo1.py b/tests/topotests/bgp_multiview_topo1/test_bgp_multiview_topo1.py index 3e548d6ff5..6fef5d2284 100755 --- a/tests/topotests/bgp_multiview_topo1/test_bgp_multiview_topo1.py +++ b/tests/topotests/bgp_multiview_topo1/test_bgp_multiview_topo1.py @@ -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