Skip to content

Commit 06863b5

Browse files
ldoktorfitzthum
authored andcommitted
tests: Send -9 on cleanup interruption
we are using "timeout" to limit cleanup time in CI, but the default -15 won't interrupt on some occasions. Let's use -9 instead to not to block in case the cleanup fails. Note this is only about the cleanup part of the e2e run-local.sh, every hang inside the testing itself should still result in a failure. Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
1 parent 4cc70f3 commit 06863b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/run-local.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ parse_args() {
4949
run() {
5050
duration=$1; shift
5151
if [ "$timeout" == "true" ]; then
52-
timeout $duration "$@"
52+
timeout -v -s 9 $duration "$@"
5353
else
5454
"$@"
5555
fi

0 commit comments

Comments
 (0)