You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by ge...@apache.org on 2017/03/22 15:10:35 UTC

oozie git commit: OOZIE-2817 amend Increase test case stability in pre-commit job (gezapeti)

Repository: oozie
Updated Branches:
  refs/heads/master 9b07ee82d -> 6199ecac1


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


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

Branch: refs/heads/master
Commit: 6199ecac13c0fc4bf8b9775693e805a10b7219ee
Parents: 9b07ee8
Author: Gezapeti Cseh <ge...@gmail.com>
Authored: Wed Mar 22 16:10:29 2017 +0100
Committer: Gezapeti Cseh <ge...@gmail.com>
Committed: Wed Mar 22 16:10:29 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/oozie/blob/6199ecac/bin/test-patch-20-tests
----------------------------------------------------------------------
diff --git a/bin/test-patch-20-tests b/bin/test-patch-20-tests
index b3a0fcd..22f472c 100755
--- a/bin/test-patch-20-tests
+++ b/bin/test-patch-20-tests
@@ -108,8 +108,8 @@ case $OP in
     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}')
+    testsFailed=$(grep "Tests run:" ${TEMPDIR}/${TASKNAME}.rerun.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}.rerun.out | grep -v " Time elapsed:" | awk '{print $7}' | sed 's/,//' | awk 'BEGIN {count=0} {count=count+$1} END {print count}')
     hasFailures=$(expr $testsFailed + $testsErrors)
     testsExitCode=$(cat ${TEMPDIR}/${TASKNAME}.exitCode)
     flakyTests=$(cat ${TEMPDIR}/${TASKNAME}.flakies.out)

http://git-wip-us.apache.org/repos/asf/oozie/blob/6199ecac/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 90b6a02..bdc3c2b 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 (gezapeti)
 OOZIE-2041 Add an admin command to run the PurgeXCommand (abhishekbafna)
 OOZIE-2393 Allow table drop in hcat prepare (abhishekbafna)
 OOZIE-2835 TestIOUtils shall not be an XTestCase (asasvari via pbacsko)