OOZIE-2817 amend Increase test case stability in pre-commit job (abhishekbafna)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/3601e5b9
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/3601e5b9
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/3601e5b9

Branch: refs/heads/oya
Commit: 3601e5b9438261716397d56e808f768cbf57e1be
Parents: 67e93b1
Author: abhisek bafna <aba...@hortonworks.com>
Authored: Fri Mar 24 17:45:37 2017 +0530
Committer: abhisek bafna <aba...@hortonworks.com>
Committed: Fri Mar 24 17:45:37 2017 +0530

----------------------------------------------------------------------
 bin/test-patch-20-tests | 2 +-
 release-log.txt         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/3601e5b9/bin/test-patch-20-tests
----------------------------------------------------------------------
diff --git a/bin/test-patch-20-tests b/bin/test-patch-20-tests
index 22f472c..f03c1a7 100755
--- a/bin/test-patch-20-tests
+++ b/bin/test-patch-20-tests
@@ -94,7 +94,7 @@ case $OP in
     failures=$(find . -name '*\.txt' | grep target/surefire-reports | xargs 
grep  "<<<" | grep -v "Tests run:" | sed 's/.*\.txt\://' | sed 's/ .*//' | grep 
-o '(\(.*\))' | tr -d '()'  | uniq | awk '{ sub ("\\\\$", ""); printf "%s", 
$0"," } END { print "" }')
     if [ -n "${failures}" ]; then
        echo "Rerunning failed tests: ${failures}"
-       echo $FAILURES > ${TEMPDIR}/${TASKNAME}.flakies.out
+       echo ${failures} > ${TEMPDIR}/${TASKNAME}.flakies.out
        mvn test ${MVNPASSTHRU} -Dmaven.test.failure.ignore=true \
         -Dmaven.test.error.ignore=true -fae -Doozie.test.waitfor.ratio=3 \
         -Dtest.timeout=7200 -Dtest=${failures} | tee 
${TEMPDIR}/${TASKNAME}.rerun.out >> $STDOUT

http://git-wip-us.apache.org/repos/asf/oozie/blob/3601e5b9/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 7fed4d6..6df9ed3 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.4.0 release (trunk - unreleased)
 
+OOZIE-2817 amend Increase test case stability in pre-commit job (abhishekbafna)
 OOZIE-2838 TestClassUtils,TestJsonUtils,TestWritableUtils,TestXmlUtils shall 
not be an Oozie XTestCase (asasvari via pbacsko)
 OOZIE-2811 amend Add support for filtering out properties from 
SparkConfigurationService
 OOZIE-2817 amend Increase test case stability in pre-commit job (gezapeti)

Reply via email to