From: Rafael Zalamena Date: Thu, 29 Jun 2017 21:00:38 +0000 (-0300) Subject: ospf: add some log calls to show activity X-Git-Tag: frr-7.1-dev~151^2~262 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=56842c04697ac473c9283695583a78f72ff1cc99;p=matthieu%2Ffrr.git ospf: add some log calls to show activity Brings the OSPF test closer to other topotest tests. --- diff --git a/tests/topotests/ospf-topo1/test_ospf_topo1.py b/tests/topotests/ospf-topo1/test_ospf_topo1.py index 58a773b218..b801677af5 100755 --- a/tests/topotests/ospf-topo1/test_ospf_topo1.py +++ b/tests/topotests/ospf-topo1/test_ospf_topo1.py @@ -122,6 +122,8 @@ def test_ospf_convergence(): for rnum in range(1, 5): router = 'r{}'.format(rnum) + logger.info('Waiting for router "%s" convergence', router) + # Load expected results from the command reffile = os.path.join(CWD, '{}/ospfroute.txt'.format(router)) expected = open(reffile).read() @@ -138,6 +140,7 @@ def test_ospf_json(): for rnum in range(1, 5): router = tgen.gears['r{}'.format(rnum)] + logger.info('Comparing router "%s" "show ip ospf json" output', router.name) expected = { 'routerId': '10.0.255.{}'.format(rnum), 'tosRoutesOnly': True, @@ -212,7 +215,7 @@ def test_ospf_link_down(): # Expect convergence on all routers for rnum in range(1, 5): router = 'r{}'.format(rnum) - + logger.info('Waiting for router "%s" convergence after link failure', router) # Load expected results from the command reffile = os.path.join(CWD, '{}/ospfroute_down.txt'.format(router)) expected = open(reffile).read()