hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [hadoop] branch trunk updated: HDDS-2265. integration.sh may report false negative
Date Wed, 09 Oct 2019 14:18:55 GMT
This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2d81abc  HDDS-2265. integration.sh may report false negative
2d81abc is described below

commit 2d81abce5ecfec555eda4819a6e2f5b22e1cd9b8
Author: Doroszlai, Attila <adoroszlai@apache.org>
AuthorDate: Wed Oct 9 16:17:40 2019 +0200

    HDDS-2265. integration.sh may report false negative
    
    Closes #1608
---
 hadoop-ozone/dev-support/checks/_mvn_unit_report.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hadoop-ozone/dev-support/checks/_mvn_unit_report.sh b/hadoop-ozone/dev-support/checks/_mvn_unit_report.sh
index df19330..81551d1 100755
--- a/hadoop-ozone/dev-support/checks/_mvn_unit_report.sh
+++ b/hadoop-ozone/dev-support/checks/_mvn_unit_report.sh
@@ -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


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message