Commit 56192b89 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel
Browse files

#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 e3843ee3
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -328,7 +328,9 @@ date=$(date +%Y%m%d)
branch=.
tokudb=tokudb
bdb=5.3
makejobs=$(get_ncpus)
ncpus=$(get_ncpus)
toku_ncpus=8
makejobs=$ncpus
revision=0
VALGRIND=tokugrind
commit=1
@@ -376,6 +378,9 @@ if [ $parallel -ne 0 ] ; then BG="&"; fi
export GCCVERSION=$($ftcc --version|head -1|cut -f3 -d" ")
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
let t=3*3600
ulimit -t $t