HBASE-5805 fix test-patch script from setting the ulimit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1222472 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8edf120cf7
commit
5ec931d5c7
|
@ -13,8 +13,6 @@
|
|||
|
||||
|
||||
#set -x
|
||||
echo 'First ulimit'
|
||||
ulimit -a
|
||||
|
||||
### Setup some variables.
|
||||
### SVN_REVISION and BUILD_URL are set by Hudson if it is run by patch process
|
||||
|
@ -570,11 +568,6 @@ 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
|
||||
|
|
Loading…
Reference in New Issue