mirror of
https://github.com/containers/podman.git
synced 2025-07-02 00:30:00 +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:
|
||||
- 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
|
||||
|
Reference in New Issue
Block a user