mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
RHEL gating tests: skip some tests under runc
Manual cherrypick of (portions of) #14972, for tests that don't work under runc. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -474,9 +474,8 @@ spec:
|
||||
|
||||
@test "pod resource limits" {
|
||||
skip_if_remote "resource limits only implemented on non-remote"
|
||||
if is_rootless; then
|
||||
skip "only meaningful for rootful"
|
||||
fi
|
||||
skip_if_rootless "resource limits only work with root"
|
||||
skip_if_cgroupsv1 "resource limits only meaningful on cgroups V2"
|
||||
|
||||
local name1="resources1"
|
||||
run_podman --cgroup-manager=systemd pod create --name=$name1 --cpus=5 --memory=10m
|
||||
|
@ -17,6 +17,10 @@ function teardown() {
|
||||
|
||||
@test "podman-system-service containers survive service stop" {
|
||||
skip_if_remote "podman system service unavailable over remote"
|
||||
local runtime=$(podman_runtime)
|
||||
if [[ "$runtime" != "crun" ]]; then
|
||||
skip "survival code only implemented in crun; you're using $runtime"
|
||||
fi
|
||||
|
||||
port=$(random_free_port)
|
||||
URL=tcp://127.0.0.1:$port
|
||||
|
Reference in New Issue
Block a user