Merge pull request #9494 from hashicorp/e2e-poststop-sigterm

lifecycle: update e2e test for service job with new docker signal #8932
This commit is contained in:
James Rasell
2020-12-02 09:06:14 +01:00
committed by GitHub

View File

@@ -120,7 +120,7 @@ if [ ! -f ${NOMAD_ALLOC_DIR}/poststart-started ]; then exit 15; fi
touch ${NOMAD_ALLOC_DIR}/main-checked
echo trap
trap cleanup SIGINT
trap cleanup SIGTERM
echo sleep
while true