From dc2bd0857dc777fcc97a1ceb6c4a64eb1a174098 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Tue, 17 Jan 2023 08:21:39 -0700 Subject: [PATCH] sig-proxy system test: bump timeout ...and instrument with 'podman ps'es for debugging failures. Test flakes pretty regularly in Fedora gating. If the increased timeout doesn't help, at least we should be able to see if the container is stopping or failed or something. Signed-off-by: Ed Santiago --- test/system/032-sig-proxy.bats | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/system/032-sig-proxy.bats b/test/system/032-sig-proxy.bats index 2fddfdd0dc..422f0cae6b 100644 --- a/test/system/032-sig-proxy.bats +++ b/test/system/032-sig-proxy.bats @@ -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 @@ -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 @@ -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 @@ -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