Commit 744cf6d7 authored by David Johnson's avatar David Johnson

Bugfix, etc.

parent abc6e6a5
Pipeline #1887 passed with stage
in 2 seconds
......@@ -12,7 +12,7 @@ DIRNAME=`dirname $0`
. "$SETUPLIB"
TESTBASEDIRNAME="test"
SIZE="50 100 150 200"
SIZES="50 100 150 200"
ITERATIONS=5
UTENANT="tenant-0"
STENANT="service-0"
......@@ -24,9 +24,9 @@ if [ $# -gt 1 ]; then
fi
for size in $SIZES ; do
i=0
while [ $i -lt $ITERATIONS ]; do
i=`expr $i + 1`
j=0
while [ $j -lt $ITERATIONS ]; do
j=`expr $j + 1`
#
# Clean out tenants and switches to make sure everything's
......@@ -54,12 +54,12 @@ for size in $SIZES ; do
#
# Ok, run the test.
#
echo "Running test-$size-$i ..."
testname="${TESTBASEDIRNAME}-${size}-${i}"
echo "Running test-$size-$j ..."
testname="${TESTBASEDIRNAME}-${size}-${j}"
mkdir -p "$testname"
$DIRNAME/test-hadoop.sh $testname $UTENANT $STENANT \
$NETWORK $BRIDGE $size | tee $testname/test.log 2>&1
echo "Finished test-$size-$i ..."
echo "Finished test-$size-$j ..."
done
done
......
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