]> git.puffer.fish Git - matthieu/frr.git/commit
tests: fix some broken logging
authorChristian Hopps <chopps@labn.net>
Sat, 27 May 2023 16:11:48 +0000 (12:11 -0400)
committerChristian Hopps <chopps@labn.net>
Mon, 5 Jun 2023 16:42:57 +0000 (12:42 -0400)
commit9c57c2900acec842e3eb9ea0f509a87f640944eb
tree183dc89e75d8c6c4465d321d88eb83a2ea463511
parent4285bdadcc0616079baf67963680ddc0a52c2c06
tests: fix some broken logging

- make sure we close and remove all handlers for named logs on each reuse.
- test module level exec.log no longer truncated to last test case output
- cleanup the log names, and make sure they are present in all exec logs
- keep separate exec logs for each pytest worker when running in distributed mode
- disabled code due to CI infra can't handle it: add per test case exec logs

Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/conftest.py
tests/topotests/lib/micronet_compat.py
tests/topotests/lib/topogen.py
tests/topotests/lib/topolog.py
tests/topotests/lib/topotest.py