diff --git a/parallel_test.sh b/parallel_test.sh index 339120d..cf3174b 100755 --- a/parallel_test.sh +++ b/parallel_test.sh @@ -30,6 +30,7 @@ test_logs+=("logs/cloudron-update-test.log") # stream all the logs (to stderr so that it's not in email but in deploy logs) tail -f ${test_logs[*]} >&2 & +tail_pid=$! # wait for tests to finish fail=0 @@ -38,6 +39,8 @@ for pid in "${test_pids[@]}"; do wait $pid || let "fail+=1" done +kill -9 "${tail_pid}" + echo echo for t in "${tests[@]}"; do