Merge pull request #17531 from edsantiago/rhel8_test_skips

RHEL8 gating-test skips and tweaks
This commit is contained in:
OpenShift Merge Robot 2023-02-20 13:36:38 +01:00 committed by GitHub
commit e1703bb7f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,7 @@ function start_time() {
function setup() {
skip_if_remote "quadlet tests are meaningless over remote"
skip_if_rootless_cgroupsv1 "quadlet tests don't work rootless on RHEL8"
start_time

View file

@ -241,7 +241,8 @@ EOF
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"
# leading ".*" handles "resource limit blah" warning with runc
is "$output" ".*Pod:.*" "podman kube play should work with --network host"
run_podman pod inspect --format "{{.InfraConfig.HostNetwork}}" test_pod
is "$output" "true" ".InfraConfig.HostNetwork"