forked from Mirror/frr
tests: quick fix for --gdb-daemons=DAEMONLIST not working
When launching the daemons under gdb it takes a bit for them to come up, the currently code only looks for pid files to determine if the daemon is running. This test is no good as these files are left around by previous runs. For now do a simple sleep when debugging with gdb to get things working. Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
e01ecbe194
commit
b70b22af95
|
@ -1840,6 +1840,8 @@ class Router(Node):
|
|||
logger.info(
|
||||
"%s: %s %s launched in gdb window", self, self.routertype, daemon
|
||||
)
|
||||
# Need better check for daemons running.
|
||||
time.sleep(5)
|
||||
else:
|
||||
if daemon != "snmpd":
|
||||
cmdopt += " -d "
|
||||
|
|
Loading…
Reference in a new issue