Skip to content

Commit e1703bb

Browse files
Merge pull request #17531 from edsantiago/rhel8_test_skips
RHEL8 gating-test skips and tweaks
2 parents d865e23 + 146809b commit e1703bb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/system/252-quadlet.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function start_time() {
1515

1616
function setup() {
1717
skip_if_remote "quadlet tests are meaningless over remote"
18+
skip_if_rootless_cgroupsv1 "quadlet tests don't work rootless on RHEL8"
1819

1920
start_time
2021

test/system/700-play.bats

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ EOF
241241
mkdir -p $TESTDIR
242242
echo "$testYaml" | sed "s|TESTDIR|${TESTDIR}|g" > $PODMAN_TMPDIR/test.yaml
243243
run_podman kube play --network host $PODMAN_TMPDIR/test.yaml
244-
is "$output" "Pod:.*" "podman kube play should work with --network host"
244+
# leading ".*" handles "resource limit blah" warning with runc
245+
is "$output" ".*Pod:.*" "podman kube play should work with --network host"
245246

246247
run_podman pod inspect --format "{{.InfraConfig.HostNetwork}}" test_pod
247248
is "$output" "true" ".InfraConfig.HostNetwork"

0 commit comments

Comments
 (0)