fixing test failures
This commit is contained in:
1 parent
c8ff8b1f25
commit
42e903909c
14 files changed
+823
-111
No files matched your search
@@ -118,13 +118,23 @@
|
||||
};
|
||||
|
||||
# Never run by an agent — operator/CI only:
|
||||
# nix build .#checks.x86_64-linux.guest-vm --impure -L
|
||||
checks.${system} = {
|
||||
guest-vm = import ./guest/vm-test.nix { inherit pkgs determinate; };
|
||||
migrate-connections-vm = import ./guest/migrate-connections-test.nix {
|
||||
inherit pkgs;
|
||||
# nix build .#checks.x86_64-linux.guest-vm-unbridged --impure -L
|
||||
# nix build .#checks.x86_64-linux.guest-vm-bridged --impure -L
|
||||
# nix build .#checks.x86_64-linux.migrate-connections-vm --impure -L
|
||||
#
|
||||
# The guest VM tests (guest/vm-tests/) share their node config and
|
||||
# mode-independent assertions via guest/vm-tests/common.nix; each test
|
||||
# adds the checks that only apply to its mode. default.nix aggregates
|
||||
# them into this attrset, which the static network-modes check joins.
|
||||
checks.${system} =
|
||||
(import ./guest/vm-tests {
|
||||
inherit pkgs determinate;
|
||||
hermenix = self.packages.${system}.hermenix;
|
||||
})
|
||||
// {
|
||||
# No build, no VM boot: evaluates host.nix in both networking modes
|
||||
# and guest/common.nix, and asserts on the generated rulesets/units.
|
||||
network-modes = import ./tests/network-modes-check.nix { inherit pkgs; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user