Skip to content
Snippets Groups Projects
Commit 40e927da authored by Alexey Lyashkov's avatar Alexey Lyashkov
Browse files

simplify dbench test.

more flexibility for find clients.txt
b=15608
i=adilger
i=grev
parent 84941d40
No related branches found
No related tags found
No related merge requests found
...@@ -117,14 +117,14 @@ for NAME in $CONFIGS; do ...@@ -117,14 +117,14 @@ for NAME in $CONFIGS; do
duration="" duration=""
[ "$SLOW" = "no" ] && duration=" -t 120" [ "$SLOW" = "no" ] && duration=" -t 120"
if [ "$SLOW" != "no" -o $DB_THREADS -eq 1 ]; then if [ "$SLOW" != "no" -o $DB_THREADS -eq 1 ]; then
DIR=$DBENCHDIR $myRUNAS bash rundbench 1 $duration $myRUNAS bash rundbench -D $DBENCHDIR 1 $duration || error "dbench failed!"
$DEBUG_ON $DEBUG_ON
$CLEANUP $CLEANUP
$SETUP $SETUP
fi fi
if [ $DB_THREADS -gt 1 ]; then if [ $DB_THREADS -gt 1 ]; then
$DEBUG_OFF $DEBUG_OFF
DIR=$DBENCHDIR $myRUNAS bash rundbench $DB_THREADS $duration $myRUNAS bash rundbench -D $DBENCHDIR $DB_THREADS $duration
$DEBUG_ON $DEBUG_ON
$CLEANUP $CLEANUP
$SETUP $SETUP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment