Skip to content

Commit

Permalink
Merge pull request containers#17531 from edsantiago/rhel8_test_skips
Browse files Browse the repository at this point in the history
RHEL8 gating-test skips and tweaks
  • Loading branch information
openshift-merge-robot authored Feb 20, 2023
2 parents d865e23 + 146809b commit e1703bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/system/252-quadlet.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion test/system/700-play.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e1703bb

Please sign in to comment.