summaryrefslogtreecommitdiff
path: root/test/system/130-kill.bats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2021-08-23 17:32:46 -0400
committerNalin Dahyabhai <nalin@redhat.com>2021-08-23 18:09:56 -0400
commit3007bd4a9939c0ed8160a319f70788c19e419435 (patch)
tree77c5ea8370fd5e99f8b9b4b72f50bf4cc2c964d9 /test/system/130-kill.bats
parent21f396de6f5024abbf6edd2ca63edcb1525eefcc (diff)
downloadpodman-3007bd4a9939c0ed8160a319f70788c19e419435.tar.gz
podman-3007bd4a9939c0ed8160a319f70788c19e419435.tar.bz2
podman-3007bd4a9939c0ed8160a319f70788c19e419435.zip
130-kill.bats: increase timeouts from 10s to 60s
Increase the amount of time we're willing to wait for a log message that a container should be printing to show up in the output of `logs -f`, since on at least one CI configuration we're seeing a turnaround as high as 46s, but it's not something we can directly control, so that's not a hard maximum. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Diffstat (limited to 'test/system/130-kill.bats')
-rw-r--r--test/system/130-kill.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/130-kill.bats b/test/system/130-kill.bats
index 3770eac27..d85f0a6a9 100644
--- a/test/system/130-kill.bats
+++ b/test/system/130-kill.bats
@@ -33,7 +33,7 @@ load helpers
exec 5<$fifo
# First container emits READY when ready; wait for it.
- read -t 10 -u 5 ready
+ read -t 60 -u 5 ready
is "$ready" "READY" "first log message from container"
# Helper function: send the given signal, verify that it's received.
@@ -42,7 +42,7 @@ load helpers
local signum=${2:-$1} # e.g. if signal=HUP, we expect to see '1'
run_podman kill -s $signal $cid
- read -t 10 -u 5 actual || die "Timed out: no ACK for kill -s $signal"
+ read -t 60 -u 5 actual || die "Timed out: no ACK for kill -s $signal"
is "$actual" "got: $signum" "Signal $signal handled by container"
}