mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
ca8c877f8c
Fixes errors caught by "nixos/testing: restrict arguments to makeTest" as well as some unrelated errors and warnings.
19 lines
469 B
Nix
19 lines
469 B
Nix
# This test runs CRI-O and verifies via critest
|
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
|
name = "cri-o";
|
|
meta.maintainers = with pkgs.lib.maintainers; teams.podman.members;
|
|
|
|
nodes = {
|
|
crio = {
|
|
virtualisation.cri-o.enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
crio.wait_for_unit("crio.service")
|
|
crio.succeed(
|
|
"critest --ginkgo.focus='Runtime info' --runtime-endpoint unix:///var/run/crio/crio.sock"
|
|
)
|
|
'';
|
|
})
|