summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-10-28 17:38:58 +0000
committerAlan Conway <aconway@apache.org>2009-10-28 17:38:58 +0000
commit77a0927ded844a58fead8ab39a60644c8211c5d2 (patch)
tree0872c9c28419674b9a16afc3a99ff0131bda8e50 /cpp/src/tests
parentdb5a5ae4ae773642c02c76a0c5c2723e8342f5a6 (diff)
downloadqpid-python-77a0927ded844a58fead8ab39a60644c8211c5d2.tar.gz
Reduce redundancy in cluster log output.
start_cluster: Use PID in cluster name to avoid name clashes with multiple tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830696 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/start_cluster2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/start_cluster b/cpp/src/tests/start_cluster
index fb3d27373a..dadb1ee743 100755
--- a/cpp/src/tests/start_cluster
+++ b/cpp/src/tests/start_cluster
@@ -28,7 +28,7 @@
rm -f cluster*.log cluster.ports qpidd.port
SIZE=${1:-3}; shift
-CLUSTER=`pwd` # Cluster name=pwd, avoid clashes.
+CLUSTER=$HOSTNAME.$$
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