mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
quadlet tests: skip on RHEL8 rootless
skip in setup() if journald unavailable. To be pedantic, this is overkill: some quadlet tests pass because they don't run journald. Too bad. Also skip a play-kube test that requires journal Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -16,6 +16,7 @@ function start_time() {
|
|||||||
function setup() {
|
function setup() {
|
||||||
skip_if_remote "quadlet tests are meaningless over remote"
|
skip_if_remote "quadlet tests are meaningless over remote"
|
||||||
skip_if_rootless_cgroupsv1 "Can't use --cgroups=split w/ CGv1 (#17456)"
|
skip_if_rootless_cgroupsv1 "Can't use --cgroups=split w/ CGv1 (#17456)"
|
||||||
|
skip_if_journald_unavailable "quadlet isn't really usable without journal"
|
||||||
|
|
||||||
test -x "$QUADLET" || die "Cannot run quadlet tests without executable \$QUADLET ($QUADLET)"
|
test -x "$QUADLET" || die "Cannot run quadlet tests without executable \$QUADLET ($QUADLET)"
|
||||||
|
|
||||||
|
@ -250,6 +250,8 @@ READY=1" "sdnotify sent MAINPID and READY"
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "sdnotify : play kube - with policies" {
|
@test "sdnotify : play kube - with policies" {
|
||||||
|
skip_if_journald_unavailable
|
||||||
|
|
||||||
# Pull that image. Retry in case of flakes.
|
# Pull that image. Retry in case of flakes.
|
||||||
run_podman pull $SYSTEMD_IMAGE || \
|
run_podman pull $SYSTEMD_IMAGE || \
|
||||||
run_podman pull $SYSTEMD_IMAGE || \
|
run_podman pull $SYSTEMD_IMAGE || \
|
||||||
|
Reference in New Issue
Block a user