mirror of https://github.com/containers/podman.git
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 <cevich@redhat.com>
This commit is contained in:
parent
197529f084
commit
dd51b62b7a
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue