Commit e1d9f405 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4662 put a ceiling on the number of cpus that the fractal tree tests see refs[t:4662]

git-svn-id: file:///svn/toku/tokudb@41352 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7070d0c6
...@@ -328,7 +328,9 @@ date=$(date +%Y%m%d) ...@@ -328,7 +328,9 @@ date=$(date +%Y%m%d)
branch=. branch=.
tokudb=tokudb tokudb=tokudb
bdb=5.3 bdb=5.3
makejobs=$(get_ncpus) ncpus=$(get_ncpus)
toku_ncpus=8
makejobs=$ncpus
revision=0 revision=0
VALGRIND=tokugrind VALGRIND=tokugrind
commit=1 commit=1
...@@ -376,6 +378,9 @@ if [ $parallel -ne 0 ] ; then BG="&"; fi ...@@ -376,6 +378,9 @@ if [ $parallel -ne 0 ] ; then BG="&"; fi
export GCCVERSION=$($ftcc --version|head -1|cut -f3 -d" ") export GCCVERSION=$($ftcc --version|head -1|cut -f3 -d" ")
export VALGRIND=$VALGRIND export VALGRIND=$VALGRIND
# setup TOKU_NCPUS
if [ -z "$TOKU_NCPUS" -a $toku_ncpus -le $ncpus ] ; then export TOKU_NCPUS=$toku_ncpus; fi
# limit execution time to 3 hours # limit execution time to 3 hours
let t=3*3600 let t=3*3600
ulimit -t $t ulimit -t $t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment