1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/tests/cri-o.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
493 B
Nix
Raw Normal View History

# This test runs CRI-O and verifies via critest
import ./make-test-python.nix (
{ pkgs, ... }:
{
name = "cri-o";
2022-06-25 23:15:00 +01:00
meta.maintainers = with pkgs.lib; 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"
)
'';
}
)