mirror of
https://github.com/containers/podman.git
synced 2025-07-01 00:01:02 +08:00
tests: disable tests affected by a race condition
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -234,21 +234,22 @@ READY=1" "Container log after healthcheck run"
|
|||||||
|
|
||||||
run_podman rm -f -t0 $ctr
|
run_podman rm -f -t0 $ctr
|
||||||
|
|
||||||
ctr=$(random_string)
|
# Disable until the race condition https://github.com/containers/podman/issues/22760 is fixed
|
||||||
run_podman run --name $ctr \
|
# ctr=$(random_string)
|
||||||
--health-cmd="touch /terminate" \
|
# run_podman run --name $ctr \
|
||||||
--sdnotify=healthy \
|
# --health-cmd="touch /terminate" \
|
||||||
$IMAGE sh -c 'while test \! -e /terminate; do sleep 0.1; done; echo finished'
|
# --sdnotify=healthy \
|
||||||
is "$output" "finished" "make sure container exited successfully"
|
# $IMAGE sh -c 'while test \! -e /terminate; do sleep 0.1; done; echo finished'
|
||||||
run_podman rm -f -t0 $ctr
|
# is "$output" "finished" "make sure container exited successfully"
|
||||||
|
# run_podman rm -f -t0 $ctr
|
||||||
|
|
||||||
ctr=$(random_string)
|
# ctr=$(random_string)
|
||||||
run_podman 12 run --name $ctr --rm \
|
# run_podman 12 run --name $ctr --rm \
|
||||||
--health-cmd="touch /terminate" \
|
# --health-cmd="touch /terminate" \
|
||||||
--sdnotify=healthy \
|
# --sdnotify=healthy \
|
||||||
$IMAGE sh -c 'while test \! -e /terminate; do sleep 0.1; done; echo finished; exit 12'
|
# $IMAGE sh -c 'while test \! -e /terminate; do sleep 0.1; done; echo finished; exit 12'
|
||||||
is "$output" "finished" "make sure container exited"
|
# is "$output" "finished" "make sure container exited"
|
||||||
run_podman rm -f -t0 $ctr
|
# run_podman rm -f -t0 $ctr
|
||||||
|
|
||||||
_stop_socat
|
_stop_socat
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user