From 50bd94cd20ffb64cce606aeeffd42020c3b30f8b Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Mon, 21 Nov 2016 00:42:06 -0800 Subject: [PATCH] ospf6-topo1: Less chatty timeout messages during convergence --- tests/topotests/ospf6-topo1/test_ospf6_topo1.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/topotests/ospf6-topo1/test_ospf6_topo1.py b/tests/topotests/ospf6-topo1/test_ospf6_topo1.py index d32aefa8fe..3e2d2229d5 100755 --- a/tests/topotests/ospf6-topo1/test_ospf6_topo1.py +++ b/tests/topotests/ospf6-topo1/test_ospf6_topo1.py @@ -302,15 +302,14 @@ def test_ospf6_converged(): for i in range(1, 5): notConverged = net['r%s' % i].cmd('vtysh -c "show ipv6 ospf neigh" 2> /dev/null | grep ^[0-9] | grep -v Full') if notConverged: - print('Waiting for r%s' %i), + print('Waiting for r%s' %i) sys.stdout.flush() break if notConverged: - sleep(2) - timeout -= 2 - print('\r \r'), + sleep(5) + timeout -= 5 else: - print('\rDone ') + print('Done') print(notConverged) break else: -- 2.39.5