From d12ac2a975fe4a51d6b54c4a0b84194d43f953e4 Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Tue, 28 Aug 2018 21:47:58 +0000 Subject: bgp_rfapi_basic_sanity: wait for clean exit Signed-off-by: Lou Berger --- tests/topotests/bgp_rfapi_basic_sanity/scripts/cleanup_all.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/topotests/bgp_rfapi_basic_sanity/scripts/cleanup_all.py') diff --git a/tests/topotests/bgp_rfapi_basic_sanity/scripts/cleanup_all.py b/tests/topotests/bgp_rfapi_basic_sanity/scripts/cleanup_all.py index 681ca04605..d0d66ea277 100644 --- a/tests/topotests/bgp_rfapi_basic_sanity/scripts/cleanup_all.py +++ b/tests/topotests/bgp_rfapi_basic_sanity/scripts/cleanup_all.py @@ -21,6 +21,10 @@ luCommand('r2','vtysh -c "show bgp ipv4 vpn"',num,'pass','VPN SAFI clear') luCommand('r3','vtysh -c "show bgp ipv4 vpn"',num,'pass','VPN SAFI clear') luCommand('r4','vtysh -c "show bgp ipv4 vpn"',num,'pass','VPN SAFI clear') +luCommand('r1','vtysh -c "show vnc registrations"','Locally: *Active: 0 .* Remotely: *Active: 0 .*In Holddown: *Active: 0','wait','No holddowns',20) +luCommand('r3','vtysh -c "show vnc registrations"','Locally: *Active: 0 .* Remotely: *Active: 0 .*In Holddown: *Active: 0','wait','No holddowns') +luCommand('r4','vtysh -c "show vnc registrations"','Locally: *Active: 0 .* Remotely: *Active: 0 .*In Holddown: *Active: 0','wait','No holddowns') + luCommand('r1','vtysh -c "show vnc summary"','.','none') luCommand('r3','vtysh -c "show vnc summary"','.','none') luCommand('r4','vtysh -c "show vnc summary"','.','none') -- cgit v1.2.3