Skip to content

Commit

Permalink
Merge pull request #15587 from edsantiago/skip_ubuntu_flake
Browse files Browse the repository at this point in the history
CI: disable flaking test on ubuntu
  • Loading branch information
openshift-merge-robot authored Sep 1, 2022
2 parents 475cac4 + 64eb079 commit 9ab6449
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
5 changes: 5 additions & 0 deletions test/system/250-systemd.bats
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ function service_cleanup() {
# These tests can fail in dev. environment because of SELinux.
# quick fix: chcon -t container_runtime_exec_t ./bin/podman
@test "podman generate - systemd - basic" {
# Flakes with "ActiveState=failed (expected =inactive)"
if is_ubuntu; then
skip "FIXME: 2022-09-01: requires conmon-2.1.4, ubuntu has 2.1.3"
fi

cname=$(random_string)
# See #7407 for --pull=always.
run_podman create --pull=always --name $cname --label "io.containers.autoupdate=registry" $IMAGE \
Expand Down
11 changes: 0 additions & 11 deletions test/system/710-kube.bats
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ status | = | null
assert "$actual" $op "$expect" ".$key"
done < <(parse_table "$expect")

if ! is_remote; then
count=$(egrep -c "$kubernetes_63" <<<"$output")
assert "$count" = 1 "1 instance of the Kubernetes-63-char warning"
fi

run_podman rm $cname
}

Expand Down Expand Up @@ -157,12 +152,6 @@ status | = | {}
assert "$actual" $op "$expect" ".$key"
done < <(parse_table "$expect")

# Why 4? Maybe two for each container?
if ! is_remote; then
count=$(egrep -c "$kubernetes_63" <<<"$output")
assert "$count" = 4 "instances of the Kubernetes-63-char warning"
fi

run_podman rm $cname1 $cname2
run_podman pod rm $pname
run_podman rmi $(pause_image)
Expand Down

0 comments on commit 9ab6449

Please sign in to comment.