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