Skip to content

Commit 0be44cc

Browse files
committed
test/system: add debug for healthcheck flake
Seen it a few times, the exit code differs but we didn't print the command output so it hard to tell why podman errors out here. This just adds the output and does not fix the flake. https://api.cirrus-ci.com/v1/artifact/task/5368521426731008/html/sys-podman-fedora-41-rootless-host-boltdb.log.html Signed-off-by: Paul Holzinger <[email protected]>
1 parent 48423a6 commit 0be44cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/system/220-healthcheck.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ function _check_health_log {
439439
# Wait for background healthcheck to finish and make sure the exit status is 1
440440
rc=0
441441
wait -n $hc_pid || rc=$?
442+
cat $hcStatus # just as debug in case the exit code check fails
442443
assert $rc -eq 1 "exit status check of healthcheck command"
443444
assert $(< $hcStatus) == "stopped" "Health status"
444445

0 commit comments

Comments
 (0)