nixosTests.cri-o: handleTest -> runTest
This commit is contained in:
parent
4257e82bcf
commit
2dd453b74b
@ -384,7 +384,7 @@ in
|
|||||||
coturn = runTest ./coturn.nix;
|
coturn = runTest ./coturn.nix;
|
||||||
couchdb = runTest ./couchdb.nix;
|
couchdb = runTest ./couchdb.nix;
|
||||||
crabfit = runTest ./crabfit.nix;
|
crabfit = runTest ./crabfit.nix;
|
||||||
cri-o = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./cri-o.nix { };
|
cri-o = runTestOn [ "aarch64-linux" "x86_64-linux" ] ./cri-o.nix;
|
||||||
cryptpad = runTest ./cryptpad.nix;
|
cryptpad = runTest ./cryptpad.nix;
|
||||||
cups-pdf = runTest ./cups-pdf.nix;
|
cups-pdf = runTest ./cups-pdf.nix;
|
||||||
curl-impersonate = runTest ./curl-impersonate.nix;
|
curl-impersonate = runTest ./curl-impersonate.nix;
|
||||||
|
@ -1,22 +1,17 @@
|
|||||||
# This test runs CRI-O and verifies via critest
|
{ lib, ... }:
|
||||||
import ./make-test-python.nix (
|
{
|
||||||
{ pkgs, ... }:
|
name = "cri-o";
|
||||||
{
|
meta.maintainers = lib.teams.podman.members;
|
||||||
name = "cri-o";
|
|
||||||
meta.maintainers = with pkgs.lib; teams.podman.members;
|
|
||||||
|
|
||||||
nodes = {
|
nodes.crio = {
|
||||||
crio = {
|
virtualisation.cri-o.enable = true;
|
||||||
virtualisation.cri-o.enable = true;
|
};
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
start_all()
|
start_all()
|
||||||
crio.wait_for_unit("crio.service")
|
crio.wait_for_unit("crio.service")
|
||||||
crio.succeed(
|
crio.succeed(
|
||||||
"critest --ginkgo.focus='Runtime info' --runtime-endpoint unix:///var/run/crio/crio.sock"
|
"critest --ginkgo.focus='Runtime info' --runtime-endpoint unix:///var/run/crio/crio.sock"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user