Skip to content

Commit

Permalink
Merge pull request #17141 from edsantiago/bump_sigproxy_test_timeout
Browse files Browse the repository at this point in the history
sig-proxy system test: bump timeout
  • Loading branch information
openshift-merge-robot authored Jan 17, 2023
2 parents eede0c9 + dc2bd08 commit a702d44
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit a702d44

Please sign in to comment.