Skip to content

Commit

Permalink
HDDS-2265. integration.sh may report false negative
Browse files Browse the repository at this point in the history
Closes #1608
  • Loading branch information
adoroszlai authored and elek committed Oct 9, 2019
1 parent b034350 commit 2d81abc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hadoop-ozone/dev-support/checks/_mvn_unit_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d81abc

Please sign in to comment.