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 | d2f7c788bd3cb2910b8ead1da6643b30367d0569 (patch) | |
tree | 8c043a8ce41d251974af43ffc03a35bf172aed4c /cpp/src/tests | |
parent | d8fa6da3799f8dcf17aa224f46a7c840f0f884d4 (diff) | |
download | qpid-python-d2f7c788bd3cb2910b8ead1da6643b30367d0569.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/qpid@1397676 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-x | cpp/src/tests/qpid-cluster-benchmark | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/tests/qpid-cluster-benchmark b/cpp/src/tests/qpid-cluster-benchmark index 610beacebd..3e6b805692 100755 --- a/cpp/src/tests/qpid-cluster-benchmark +++ b/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 "$@" |