diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-28 15:01:20 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-28 15:01:20 +0100 |
| commit | ce28c3c4e9b58a37ad99aa339e4340ce9f9b9fca (patch) | |
| tree | 6fcffb860d8fd7efa1d4d752e8e8b682bf169151 /tests/by-name/mo | |
| parent | scripts/build.sh: Support `--show-trace` (diff) | |
| download | nixos-server-ce28c3c4e9b58a37ad99aa339e4340ce9f9b9fca.zip | |
tests: Remove pointless module imports
The required modules are already imported by the `runTest` function.
Diffstat (limited to 'tests/by-name/mo')
| -rw-r--r-- | tests/by-name/mo/monitoring-basic/test.nix | 7 | ||||
| -rw-r--r-- | tests/by-name/mo/monitoring-federation/test.nix | 19 |
2 files changed, 0 insertions, 26 deletions
diff --git a/tests/by-name/mo/monitoring-basic/test.nix b/tests/by-name/mo/monitoring-basic/test.nix index a4d67a9..ce225ce 100644 --- a/tests/by-name/mo/monitoring-basic/test.nix +++ b/tests/by-name/mo/monitoring-basic/test.nix @@ -1,5 +1,4 @@ { - extraModules, vhack, ... }: let @@ -16,12 +15,6 @@ in client = {}; server = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - # there are no SMART available disk in the VM, so this service always fails. systemd.services."smartd".enable = false; diff --git a/tests/by-name/mo/monitoring-federation/test.nix b/tests/by-name/mo/monitoring-federation/test.nix index 106bc20..278626f 100644 --- a/tests/by-name/mo/monitoring-federation/test.nix +++ b/tests/by-name/mo/monitoring-federation/test.nix @@ -1,5 +1,4 @@ { - extraModules, pkgs, vhack, ... @@ -19,12 +18,6 @@ in nodes = { server2 = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - environment.systemPackages = [ pkgs.curl ]; @@ -40,12 +33,6 @@ in }; }; server3 = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - vhack = { monitoring = { prometheus = { @@ -57,12 +44,6 @@ in }; }; server4 = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - vhack = { monitoring = { prometheus = { |
