From: Rafael Zalamena Date: Thu, 9 Nov 2017 19:37:24 +0000 (-0200) Subject: topotest: specify why we are waiting X-Git-Tag: frr-7.1-dev~151^2~196 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=479b98aacdf7995db3f0b659698a07b24951af91;p=mirror%2Ffrr.git topotest: specify why we are waiting This shows the user why the router teardown is taking 2 seconds long. --- diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index 8f456846c0..8cf02c26fb 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -541,7 +541,8 @@ class Router(Node): if (daemonpid.isdigit() and pid_exists(int(daemonpid))): self.cmd('kill -TERM %s' % daemonpid) self.waitOutput() - sleep(2) + sleep(2, 'waiting for router "{}" daemons to finish'.format( + self.name)) # 2nd round of kill if daemons didn't exist for d in StringIO.StringIO(rundaemons): daemonpid = self.cmd('cat %s' % d.rstrip()).rstrip()