summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/qpid-cluster-benchmark
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-04-16 19:20:15 +0000
committerAlan Conway <aconway@apache.org>2012-04-16 19:20:15 +0000
commit0dde682105118b364773e2bee18021734edcf573 (patch)
tree32400857b5df39ac77526a096b84fd1412c6ca74 /qpid/cpp/src/tests/qpid-cluster-benchmark
parent6cf716b52c086e19a7439468b9de4e314625c55d (diff)
downloadqpid-python-0dde682105118b364773e2bee18021734edcf573.tar.gz
QPID-3603: Minor improvements to HA tests, documentation and examples.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326755 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/qpid-cluster-benchmark')
-rwxr-xr-xqpid/cpp/src/tests/qpid-cluster-benchmark5
1 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/qpid-cluster-benchmark b/qpid/cpp/src/tests/qpid-cluster-benchmark
index 10b751c46d..fec2eb0e96 100755
--- a/qpid/cpp/src/tests/qpid-cluster-benchmark
+++ b/qpid/cpp/src/tests/qpid-cluster-benchmark
@@ -57,11 +57,12 @@ done
shift $(($OPTIND-1))
CONNECTION_OPTIONS="--connection-options {tcp-nodelay:$TCP_NODELAY,reconnect:$RECONNECT,heartbeat:$HEARTBEAT}"
+CREATE_OPTIONS="node:{x-declare:{arguments:{'qpid.replicate':all}}}"
-REPLICATE="node:{x-declare:{arguments:{'qpid.replicate':all}}}"
BROKER=$(echo $BROKERS | sed s/,.*//)
run_test() { echo $*; shift; "$@"; echo; echo; echo; }
OPTS="$OPTS $REPEAT $BROKERS --summarize $QUEUES $SENDERS $RECEIVERS $MESSAGES $CLIENT_HOSTS $SAVE_RECEIVED $CONNECTION_OPTIONS $NO_DELETE"
-OPTS="$OPTS --create-option $REPLICATE"
+OPTS="$OPTS --create-option $CREATE_OPTIONS"
+
run_test "Benchmark:" qpid-cpp-benchmark $OPTS "$@"