]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/lib/topotest.py
tests: quick fix for --gdb-daemons=DAEMONLIST not working
authorChristian Hopps <chopps@labn.net>
Mon, 17 Apr 2023 05:34:46 +0000 (01:34 -0400)
committerChristian Hopps <chopps@labn.net>
Mon, 17 Apr 2023 06:15:32 +0000 (02:15 -0400)
commitb70b22af9561d0f1ac18d24dce709ab3c20c0bad
treef5ab5a4974d6068dfe441417f78ac672a1b6813c
parente01ecbe194766ceb7d11cd993a02d629fbbf11fa
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>
tests/topotests/lib/topotest.py