|
|
@ -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)
|
|
|
|