fixing test failures
This commit is contained in:
1 parent
c8ff8b1f25
commit
42e903909c
14 files changed
+823
-111
No files matched your search
@@ -0,0 +1,27 @@
|
||||
# guest/vm-tests/default.nix — the granular guest VM test suite.
|
||||
#
|
||||
# Aggregates the three runNixOSTest checks into a single import surface for
|
||||
# flake.nix's checks.${system}. common.nix holds the guest node config and
|
||||
# the mode-independent assertions shared by the two host-networking-mode
|
||||
# tests; test_unbridge.nix / test_bridge.nix add each mode's own checks, and
|
||||
# test_migrate_connections.nix covers `hermenix migrate connections`.
|
||||
#
|
||||
# Run by the operator/CI, never by an agent (see GUIDELINES.md):
|
||||
# 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
|
||||
#
|
||||
# --impure is required because guest/common.nix reads
|
||||
# /etc/hermenix/local.nix if present (see its own comment) — a pre-existing
|
||||
# property of common.nix, not something the tests introduce.
|
||||
{
|
||||
pkgs,
|
||||
determinate,
|
||||
hermenix,
|
||||
}:
|
||||
|
||||
{
|
||||
guest-vm-unbridged = import ./test_unbridge.nix { inherit pkgs determinate; };
|
||||
guest-vm-bridged = import ./test_bridge.nix { inherit pkgs determinate; };
|
||||
migrate-connections-vm = import ./test_migrate_connections.nix { inherit pkgs hermenix; };
|
||||
}
|
||||
Reference in new issue
Block a user