Merge pull request #16974 from edsantiago/bats_cleanup

[minor] System tests: add missing cleanup
This commit is contained in:
OpenShift Merge Robot 2023-01-03 04:52:28 -05:00 committed by GitHub
commit e332a244e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ Log[-1].Output | \"Uh-oh on stdout!\\\nUh-oh on stderr!\"
is "$output" "0" "Failing streak of restarted container should be 0 again" is "$output" "0" "Failing streak of restarted container should be 0 again"
run_podman rm -f -t0 $ctr run_podman rm -f -t0 $ctr
run_podman rmi $img
} }
@test "podman healthcheck --health-on-failure" { @test "podman healthcheck --health-on-failure" {

View File

@ -319,6 +319,7 @@ EOF
is "$output" "running" "container should be started by systemd and hence be running" is "$output" "running" "container should be started by systemd and hence be running"
service_cleanup $QUADLET_SERVICE_NAME inactive service_cleanup $QUADLET_SERVICE_NAME inactive
run_podman rmi $(pause_image)
} }
# vim: filetype=sh # vim: filetype=sh