HDDS-2265. integration.sh may report false negative

This commit is contained in:
Doroszlai, Attila 2019-10-07 13:42:35 +02:00
parent 7f332ebf8b
commit 9d6a1b97f3
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,11 @@ grep -A1 'Crashed tests' "${REPORT_DIR}/output.log" \
| cut -f2- -d' ' \
| sort -u >> "${REPORT_DIR}/summary.txt"
## Check if Maven was killed
if grep -q 'Killed.* mvn .* test ' "${REPORT_DIR}/output.log"; then
echo 'Maven test run was killed' >> "${REPORT_DIR}/summary.txt"
fi
#Collect of all of the report failes of FAILED tests
while IFS= read -r -d '' dir; do
while IFS=$'\n' read -r file; do