mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
Merge pull request #5266 from hashicorp/b-background-dont-fail
ci: ignore background ping errors
This commit is contained in:
@@ -5,7 +5,7 @@ export PING_SLEEP=60
|
||||
bash -c "while true; do echo \$(date) - building ...; sleep $PING_SLEEP; done" &
|
||||
PING_LOOP_PID=$!
|
||||
|
||||
trap 'kill ${PING_LOOP_PID}' EXIT HUP INT QUIT TERM
|
||||
trap 'kill ${PING_LOOP_PID} || true' EXIT HUP INT QUIT TERM
|
||||
|
||||
if [ "$RUN_STATIC_CHECKS" ]; then
|
||||
make check
|
||||
@@ -17,5 +17,6 @@ fi
|
||||
NOMAD_SLOW_TEST=1 make test
|
||||
TEST_OUTPUT=$?
|
||||
|
||||
kill $PING_LOOP_PID
|
||||
kill $PING_LOOP_PID || true
|
||||
|
||||
exit $TEST_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user