Add startup pause

sigint-sigterm-test
dgtlmoon 1 year ago
parent 0838212c51
commit 58d5f62b7f

@ -102,6 +102,7 @@ jobs:
echo SIGINT Shutdown request test echo SIGINT Shutdown request test
docker run --name sig-test -d test-changedetectionio docker run --name sig-test -d test-changedetectionio
sleep 3
docker kill --signal=SIGINT sig-test docker kill --signal=SIGINT sig-test
sleep 3 sleep 3
# invert the check (it should be not 0/not running) # invert the check (it should be not 0/not running)
@ -116,6 +117,7 @@ jobs:
echo SIGTERM Shutdown request test echo SIGTERM Shutdown request test
docker run --name sig-test -d test-changedetectionio docker run --name sig-test -d test-changedetectionio
sleep 3
docker kill --signal=SIGTERM sig-test docker kill --signal=SIGTERM sig-test
sleep 3 sleep 3
# invert the check (it should be not 0/not running) # invert the check (it should be not 0/not running)

Loading…
Cancel
Save