mirror of
https://github.com/containers/podman.git
synced 2025-07-03 09:17:15 +08:00
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:
@ -397,13 +397,13 @@ spec:
|
|||||||
- command:
|
- command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -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
|
image: $IMAGE
|
||||||
name: a
|
name: a
|
||||||
- command:
|
- command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -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
|
image: $IMAGE
|
||||||
name: b
|
name: b
|
||||||
EOF
|
EOF
|
||||||
|
Reference in New Issue
Block a user