mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 14:40:47 +00:00
tests: Close some open handles
I accidently installed something that is telling me about unlosed handles in the tests. Let's clean them up. <and yes I have no idea wtf I did> Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
0114e2edc9
commit
46a0656f7a
@ -1114,6 +1114,7 @@ def diagnose_env_linux():
|
||||
logger.warning(
|
||||
"BGP topologies are still using exabgp version 3, expect failures"
|
||||
)
|
||||
p.close()
|
||||
|
||||
# We want to catch all exceptions
|
||||
# pylint: disable=W0702
|
||||
@ -1122,6 +1123,7 @@ def diagnose_env_linux():
|
||||
|
||||
# After we logged the output to file, remove the handler.
|
||||
logger.removeHandler(fhandler)
|
||||
fhandler.close()
|
||||
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user