mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 22:09:48 +00:00
tests: stop daemons consistently in mem leak path
When the topotest mem-leak reporting is enabled, use the same two-step daemon stop procedure that's used in the topogen.stop_topology path. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
aaf0d79655
commit
d2bdb82ffd
@ -819,7 +819,9 @@ class TopoRouter(TopoGear):
|
||||
if memleak_file is None:
|
||||
return
|
||||
|
||||
self.stop()
|
||||
self.stop(False, False)
|
||||
self.stop(wait=True)
|
||||
|
||||
self.logger.info("running memory leak report")
|
||||
self.tgen.net[self.name].report_memory_leaks(memleak_file, testname)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user