Repository: oozie Updated Branches: refs/heads/master ab6ae75e3 -> 62c060c34
OOZIE-2745 test-patch should also list the failed tests (gezapeti via rkanter) Project: http://git-wip-us.apache.org/repos/asf/oozie/repo Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/62c060c3 Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/62c060c3 Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/62c060c3 Branch: refs/heads/master Commit: 62c060c34fdb5c1298829c6175caf5d645bb8e7d Parents: ab6ae75 Author: Robert Kanter <rkan...@cloudera.com> Authored: Mon Dec 5 15:50:58 2016 -0800 Committer: Robert Kanter <rkan...@cloudera.com> Committed: Mon Dec 5 15:50:58 2016 -0800 ---------------------------------------------------------------------- bin/test-patch-20-tests | 4 ++++ release-log.txt | 1 + 2 files changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oozie/blob/62c060c3/bin/test-patch-20-tests ---------------------------------------------------------------------- diff --git a/bin/test-patch-20-tests b/bin/test-patch-20-tests index 7595c7c..d096575 100755 --- a/bin/test-patch-20-tests +++ b/bin/test-patch-20-tests @@ -95,6 +95,7 @@ case $OP in ;; report) failedTests=` find . -name '*\.txt' | grep target/surefire-reports | xargs grep "<<< FAILURE" | grep -v "Tests run:" | sed 's/.*\.txt\://' | sed 's/ .*//'` + testsWithError=` find . -name '*\.txt' | grep target/surefire-reports | xargs grep "<<< ERROR" | grep -v "Tests run:" | sed 's/.*\.txt\://' | sed 's/ .*//'` testsRun=`grep "Tests run:" ${TEMPDIR}/${TASKNAME}.out | grep -v " Time elapsed:" | awk '{print $3}' | sed 's/,//' | awk 'BEGIN {count=0} {count=count+$1} END {print count}'` testsFailed=`grep "Tests run:" ${TEMPDIR}/${TASKNAME}.out | grep -v " Time elapsed:" | awk '{print $5}' | sed 's/,//' | awk 'BEGIN {count=0} {count=count+$1} END {print count}'` testsErrors=`grep "Tests run:" ${TEMPDIR}/${TASKNAME}.out | grep -v " Time elapsed:" | awk '{print $7}' | sed 's/,//' | awk 'BEGIN {count=0} {count=count+$1} END {print count}'` @@ -110,6 +111,9 @@ case $OP in echo "" >> ${SUMMARYFILE} echo "${failedTests}" | sed 's/^/. /' >> $SUMMARYFILE echo "" >> ${SUMMARYFILE} + echo ". Tests failing with errors:" >> $SUMMARYFILE + echo "${testsWithError}" | sed 's/^/. /' >> $SUMMARYFILE + echo "" >> ${SUMMARYFILE} else if [[ "$testsExitCode" != "0" ]] ; then echo "{color:red}-1 ${TASKNAME}{color} - patch does not compile, cannot run testcases" >> $SUMMARYFILE http://git-wip-us.apache.org/repos/asf/oozie/blob/62c060c3/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index c3b7ab7..2fd869f 100644 --- a/release-log.txt +++ b/release-log.txt @@ -1,5 +1,6 @@ -- Oozie 4.4.0 release (trunk - unreleased) +OOZIE-2745 test-patch should also list the failed tests (gezapeti via rkanter) OOZIE-2740 oozie help misspelled coordinator (coordiantor) and retrieved (retreived) (gsohn via rkanter) OOZIE-2690 OOZIE NPE while executing kill() (abhishekbafna via jaydeepvishwakarma) OOZIE-2737 testConfigDefaultPropsToAction is flaky (satishsaley via rohini)