HBASE-15021 hadoopqa doing false positives
This commit is contained in:
parent
f018c371b5
commit
53e5d27a80
|
@ -841,14 +841,13 @@ runTests () {
|
|||
echo "======================================================================"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
failed_tests=""
|
||||
echo "$MVN clean test -Dsurefire.rerunFailingTestsCount=2 -P runAllTests -D${PROJECT_NAME}PatchProcess"
|
||||
export MAVEN_OPTS="${MAVEN_OPTS}"
|
||||
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
|
||||
export JIRA_COMMENT
|
||||
$MVN clean test -Dsurefire.rerunFailingTestsCount=2 -P runAllTests -D${PROJECT_NAME}PatchProcess
|
||||
if [[ $? != 0 ]] ; then
|
||||
### 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"`
|
||||
|
|
Loading…
Reference in New Issue