Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sig-proxy system test: bump timeout #17141

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/system/032-sig-proxy.bats
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function _test_sigproxy() {
local kidpid=$2

# Wait for container to appear
local timeout=5
local timeout=10
while :;do
sleep 0.5
run_podman '?' container exists $cname
Expand All @@ -21,6 +21,7 @@ function _test_sigproxy() {
fi
timeout=$((timeout - 1))
if [[ $timeout -eq 0 ]]; then
run_podman ps -a
die "Timed out waiting for container $cname to start"
fi
done
Expand All @@ -30,7 +31,7 @@ function _test_sigproxy() {

# Signal, and wait for container to exit
kill -INT $kidpid
local timeout=10
timeout=20
while :;do
sleep 0.5
run_podman logs $cname
Expand All @@ -39,6 +40,7 @@ function _test_sigproxy() {
fi
timeout=$((timeout - 1))
if [[ $timeout -eq 0 ]]; then
run_podman ps -a
die "Timed out waiting for BYE from container"
fi
done
Expand Down