From dd51b62b7af5171322020036712fba416c14fb2e Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 15 Feb 2023 15:54:53 -0500 Subject: [PATCH] Skip 'podman kube --network' test for rootless CGv1 Test emits nasty warning message: `Resource limits are not supported and ignored on cgroups V1 rootless systems` Ref: issue #17582 Signed-off-by: Chris Evich --- test/system/700-play.bats | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/system/700-play.bats b/test/system/700-play.bats index 01c6ef59c8..99b750b849 100644 --- a/test/system/700-play.bats +++ b/test/system/700-play.bats @@ -237,9 +237,11 @@ EOF } @test "podman kube --network" { + skip_if_rootless_cgroupsv1 "Test will never be supported, see #17582." TESTDIR=$PODMAN_TMPDIR/testdir mkdir -p $TESTDIR echo "$testYaml" | sed "s|TESTDIR|${TESTDIR}|g" > $PODMAN_TMPDIR/test.yaml + run_podman kube play --network host $PODMAN_TMPDIR/test.yaml is "$output" "Pod:.*" "podman kube play should work with --network host"