From 8edf120cf70246f59da30d4f4b39753fcc688198 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 22 Dec 2011 06:37:33 +0000 Subject: [PATCH] HBASE-5085 fix test-patch script from setting the ulimit -- EXPERIMENT git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1222065 13f79535-47bb-0310-9956-ffa450edef68 --- dev-support/test-patch.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 8e9bb80be5a..dadb7507ac8 100644 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -13,7 +13,8 @@ #set -x -ulimit -n 1024 +echo 'First ulimit' +ulimit -a ### Setup some variables. ### SVN_REVISION and BUILD_URL are set by Hudson if it is run by patch process @@ -569,6 +570,11 @@ runTests () { ### 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 echo "$MVN clean test -D${PROJECT_NAME}PatchProcess" + echo 'Second ulimit' + ulimit -a + ulimit -n 60000 + ulimit -u 10240 + echo 'Third ulimit' ulimit -a $MVN clean test -P runAllTests -D${PROJECT_NAME}PatchProcess if [[ $? != 0 ]] ; then