You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/12/14 01:11:10 UTC
svn commit: r1421623 - /hbase/trunk/dev-support/test-patch.sh
Author: stack
Date: Fri Dec 14 00:11:09 2012
New Revision: 1421623
URL: http://svn.apache.org/viewvc?rev=1421623&view=rev
Log:
HBASE-7350 Flakey tests make CI unreliable
Modified:
hbase/trunk/dev-support/test-patch.sh
Modified: hbase/trunk/dev-support/test-patch.sh
URL: http://svn.apache.org/viewvc/hbase/trunk/dev-support/test-patch.sh?rev=1421623&r1=1421622&r2=1421623&view=diff
==============================================================================
--- hbase/trunk/dev-support/test-patch.sh (original)
+++ hbase/trunk/dev-support/test-patch.sh Fri Dec 14 00:11:09 2012
@@ -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}"