HDDS-2265. integration.sh may report false negative

Closes #1608
This commit is contained in:
Doroszlai, Attila 2019-10-09 16:17:40 +02:00 committed by Márton Elek
parent b034350f3d
commit 2d81abce5e
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28

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