diff options
| author | Alan Conway <aconway@apache.org> | 2009-10-01 16:55:58 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-10-01 16:55:58 +0000 |
| commit | f69abcd4b321f8e2d61cc1fbeb8cb20cb99ed1eb (patch) | |
| tree | dd9fc55b70cdf84d7809fc8b9c80dabbbb3f3250 /qpid/cpp/src/tests/start_cluster | |
| parent | a7474dc17b81959fbd20a5d8e22068edc88da76e (diff) | |
| download | qpid-python-f69abcd4b321f8e2d61cc1fbeb8cb20cb99ed1eb.tar.gz | |
Fix QPID-2086 - problem with read-credit.
Also cleaned up the cluster test scripts.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820717 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/start_cluster')
| -rwxr-xr-x | qpid/cpp/src/tests/start_cluster | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/qpid/cpp/src/tests/start_cluster b/qpid/cpp/src/tests/start_cluster index 585ba082d5..fb3d27373a 100755 --- a/qpid/cpp/src/tests/start_cluster +++ b/qpid/cpp/src/tests/start_cluster @@ -23,20 +23,17 @@ # # Execute command with the ais group set. -with_ais_group() { - id -nG | grep '\<ais\>' >/dev/null || { echo "You are not a member of the ais group." 1>&2; exit 1; } - echo $* | newgrp ais -} +. `dirname $0`/ais_check rm -f cluster*.log cluster.ports qpidd.port SIZE=${1:-3}; shift CLUSTER=`pwd` # Cluster name=pwd, avoid clashes. -OPTS="-d --no-module-dir --load-module ../.libs/cluster.so --cluster-name=$CLUSTER --auth=no $@" +OPTS="-d --no-module-dir --load-module ../.libs/cluster.so --cluster-name=$CLUSTER --auth=no --log-enable notice+ --log-enable debug+:cluster $@" for (( i=0; i<SIZE; ++i )); do DDIR=`mktemp -d /tmp/start_cluster.XXXXXXXXXX` - PORT=`with_ais_group ../qpidd -p0 --log-to-file=cluster$i.log $OPTS --data-dir=$DDIR` || exit 1 + PORT=`with_ais_group ../qpidd -p0 --log-to-file=cluster$i.log $OPTS --data-dir=$DDIR` || exit 1 echo $PORT >> cluster.ports done |
