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 2011/12/22 07:37:34 UTC
svn commit: r1222065 - /hbase/trunk/dev-support/test-patch.sh
Author: stack
Date: Thu Dec 22 06:37:33 2011
New Revision: 1222065
URL: http://svn.apache.org/viewvc?rev=1222065&view=rev
Log:
HBASE-5085 fix test-patch script from setting the ulimit -- EXPERIMENT
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=1222065&r1=1222064&r2=1222065&view=diff
==============================================================================
--- hbase/trunk/dev-support/test-patch.sh (original)
+++ hbase/trunk/dev-support/test-patch.sh Thu Dec 22 06:37:33 2011
@@ -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