HBASE-7350 Flakey tests make CI unreliable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e0c1dded33
commit
d03682ea3d
|
@ -597,6 +597,8 @@ runTests () {
|
|||
|
||||
failed_tests=""
|
||||
### Kill any rogue build processes from the last attempt
|
||||
condemnedCount=`$PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | $AWK 'BEGIN {total = 0} {total += 1} END {print total}'`
|
||||
echo "WARNING: $condemnedCount rogue build processes detected, terminating."
|
||||
$PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | /usr/bin/xargs -t -I {} /bin/kill -9 {} > /dev/null
|
||||
echo "$MVN clean test -P runAllTests -D${PROJECT_NAME}PatchProcess -Dsurefire.secondPartThreadCount=4"
|
||||
export MAVEN_OPTS="${MAVEN_OPTS}"
|
||||
|
|
Loading…
Reference in New Issue