HBASE-4996 hadoopqa not running long category tests, just short and medium

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1212575 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-12-09 18:55:38 +00:00
parent 69b505b4da
commit 8ef75773c8
1 changed files with 2 additions and 1 deletions

View File

@ -569,7 +569,8 @@ runTests () {
### Kill any rogue build processes from the last attempt ### Kill any rogue build processes from the last attempt
$PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | /usr/bin/xargs -t -I {} /bin/kill -9 {} > /dev/null $PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | /usr/bin/xargs -t -I {} /bin/kill -9 {} > /dev/null
echo "$MVN clean test -D${PROJECT_NAME}PatchProcess" echo "$MVN clean test -D${PROJECT_NAME}PatchProcess"
$MVN clean test -D${PROJECT_NAME}PatchProcess ulimit -a
$MVN clean test -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"`