test/system: speed up podman-kube@.service template

The test does a normal stop on a command that does not react to sigterm.
As I cannot fix the system stop logic use a command which does. This
safes us 10s as it no longer waits for the timeout.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2024-05-27 18:37:18 +02:00
parent 42f43fb3a3
commit 15606148e5

View File

@ -397,13 +397,13 @@ spec:
- command:
- sh
- -c
- echo a stdout; echo a stderr 1>&2; sleep inf
- echo a stdout; echo a stderr 1>&2; trap 'exit' SIGTERM; while :; do sleep 0.1; done
image: $IMAGE
name: a
- command:
- sh
- -c
- echo b stdout; echo b stderr 1>&2; sleep inf
- echo b stdout; echo b stderr 1>&2; trap 'exit' SIGTERM; while :; do sleep 0.1; done
image: $IMAGE
name: b
EOF