From 15606148e59288107cf260f0cf885af2fc2cc035 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Mon, 27 May 2024 18:37:18 +0200 Subject: [PATCH] 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 --- test/system/250-systemd.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/system/250-systemd.bats b/test/system/250-systemd.bats index bf4d4a5180..315c40b813 100644 --- a/test/system/250-systemd.bats +++ b/test/system/250-systemd.bats @@ -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