diff options
| author | Alan Conway <aconway@apache.org> | 2012-10-12 18:38:53 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-10-12 18:38:53 +0000 |
| commit | 43e3f4fda38d3df6eb035c74233caf64c75bee62 (patch) | |
| tree | 4f4e53a5dfcd121de0708a9a39613e4fdd4708c4 /qpid/cpp/src/tests | |
| parent | 1c33321774c1ce30b6f8ab2462d0606e9a648981 (diff) | |
| download | qpid-python-43e3f4fda38d3df6eb035c74233caf64c75bee62.tar.gz | |
QPID-4369: HA backup brokers core dump in benchmark test.
Was seeing core dumps with QueueReplicator::queue == 0. Caused by race
conditions when calling QueueReplicator::deactivate. Renamed deactivate to
destroy and call it only when the broker::Queue is destroyed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397676 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
| -rwxr-xr-x | qpid/cpp/src/tests/qpid-cluster-benchmark | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/qpid-cluster-benchmark b/qpid/cpp/src/tests/qpid-cluster-benchmark index 610beacebd..3e6b805692 100755 --- a/qpid/cpp/src/tests/qpid-cluster-benchmark +++ b/qpid/cpp/src/tests/qpid-cluster-benchmark @@ -55,12 +55,10 @@ 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}}}" 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 $CREATE_OPTIONS" run_test "Benchmark:" qpid-cpp-benchmark $OPTS "$@" |
