[pve-devel] [PATCH v2 pve-network 0/5] SDN tests in sbuild
Stefan Lendl
s.lendl at proxmox.com
Thu Mar 7 16:13:15 CET 2024
Extract and mock functions that otherwise access system files which is not
possible in a clean sbuild environment.
Namely /etc/network/interfaces as well as /etc/frr/frr.config.local
Disabling DNS tests
Changes v1 -> v2:
* Disabled DNS tests because they fail
Stefan Lendl (5):
refactor(controllers): extract read_etc_network_interfaces
refactor(evpn): extract read_local_frr_config
tests: mocking more functions to avoid system access
tests: disable failing DNS tests
tests: run tests in sbuild
src/Makefile | 2 +-
src/PVE/Network/SDN/Controllers.pm | 16 ++++++---
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 10 ++++--
src/test/Makefile | 2 +-
src/test/run_test_zones.pl | 36 ++++++++++++++++++-
5 files changed, 56 insertions(+), 10 deletions(-)
--
2.43.0
More information about the pve-devel
mailing list