HBASE-15021 hadoopqa doing false positives

This commit is contained in:
stack 2015-12-21 22:16:06 -08:00
parent f018c371b5
commit 53e5d27a80
1 changed files with 1 additions and 2 deletions

View File

@ -841,14 +841,13 @@ runTests () {
echo "======================================================================" echo "======================================================================"
echo "" echo ""
echo "" echo ""
failed_tests="" failed_tests=""
echo "$MVN clean test -Dsurefire.rerunFailingTestsCount=2 -P runAllTests -D${PROJECT_NAME}PatchProcess" echo "$MVN clean test -Dsurefire.rerunFailingTestsCount=2 -P runAllTests -D${PROJECT_NAME}PatchProcess"
export MAVEN_OPTS="${MAVEN_OPTS}" export MAVEN_OPTS="${MAVEN_OPTS}"
ulimit -a ulimit -a
$MVN clean test -Dsurefire.rerunFailingTestsCount=2 -P runAllTests -D${PROJECT_NAME}PatchProcess
# Need to export this so the zombie subshell picks up current content # Need to export this so the zombie subshell picks up current content
export JIRA_COMMENT export JIRA_COMMENT
$MVN clean test -Dsurefire.rerunFailingTestsCount=2 -P runAllTests -D${PROJECT_NAME}PatchProcess
if [[ $? != 0 ]] ; then if [[ $? != 0 ]] ; then
### Find and format names of failed tests ### Find and format names of failed tests
failed_tests=`find . -name 'TEST*.xml' | xargs $GREP -l -E "<failure|<error" | sed -e "s|.*target/surefire-reports/TEST-| |g" | sed -e "s|\.xml||g"` failed_tests=`find . -name 'TEST*.xml' | xargs $GREP -l -E "<failure|<error" | sed -e "s|.*target/surefire-reports/TEST-| |g" | sed -e "s|\.xml||g"`