summaryrefslogtreecommitdiff
path: root/cpp/src/tests/start_cluster
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/start_cluster')
-rwxr-xr-xcpp/src/tests/start_cluster5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/tests/start_cluster b/cpp/src/tests/start_cluster
index 03fb671bdf..876913bc2d 100755
--- a/cpp/src/tests/start_cluster
+++ b/cpp/src/tests/start_cluster
@@ -9,10 +9,11 @@ test -z "$*" && { echo "Usage: $0 cluster-size [options]"; exit 1; }
rm -f cluster*.log cluster.ports
SIZE=$1
shift
-OPTS=$*
CLUSTER=`whoami` # Cluster name=user name, avoid clashes.
+OPTS="--load-module ../.libs/libqpidcluster.so -dp0 --log-output=cluster$i.log --cluster-name=$CLUSTER --no-data-dir --auth=no $*"
+
for (( i=0; i<SIZE; ++i )); do
- PORT=`../qpidd --load-module ../.libs/libqpidcluster.so -dp0 --log-output=cluster$i.log --cluster-name $CLUSTER $OPTS` || exit 1
+ PORT=`../qpidd $OPTS` || exit 1
echo $PORT >> cluster.ports
done