test: remove wait commands
@@ -195,21 +195,20 @@ function functional_pass {
done
done
- echo "Starting 'etcd-tester'"
+ echo "functional test START!"
./bin/etcd-tester --config ./functional.yaml && echo "'etcd-tester' succeeded"
ETCD_TESTER_EXIT_CODE=$?
echo "ETCD_TESTER_EXIT_CODE:" ${ETCD_TESTER_EXIT_CODE}
- echo "Waiting for processes to exit"
# shellcheck disable=SC2206
agent_pids=($agent_pids)
- kill -s TERM "${agent_pids[@]}"
- for a in "${agent_pids[@]}"; do wait "$a" || true; done
+ kill -s TERM "${agent_pids[@]}" || true
if [[ "${ETCD_TESTER_EXIT_CODE}" -ne "0" ]]; then
echo "--- FAIL: exit code" ${ETCD_TESTER_EXIT_CODE}
exit ${ETCD_TESTER_EXIT_CODE}
fi
+ echo "functional test PASS!"
}
function cov_pass {
