summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster_tests.py
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2011-05-03 22:04:51 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2011-05-03 22:04:51 +0000
commit1f473a33b3e5b5becd77b14508b06389c2ecd70a (patch)
tree3964bfa86193738e3287f59d3318c23e15f5cc76 /qpid/cpp/src/tests/cluster_tests.py
parent41d2254bda3dc0e2c85099277f6a9c642ae09bcc (diff)
downloadqpid-python-1f473a33b3e5b5becd77b14508b06389c2ecd70a.tar.gz
QPID-3243: correctly use --max-queue-count value to compute flow limit.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1099278 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_tests.py')
-rwxr-xr-xqpid/cpp/src/tests/cluster_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/cluster_tests.py b/qpid/cpp/src/tests/cluster_tests.py
index 727934ae26..85ace1008a 100755
--- a/qpid/cpp/src/tests/cluster_tests.py
+++ b/qpid/cpp/src/tests/cluster_tests.py
@@ -567,7 +567,7 @@ acl allow all all
s0 = c0.session()
# Declare multiple queues bound to same key on amq.topic
def declare(q,max=0):
- if max: declare = 'x-declare:{arguments:{"qpid.max_count":%d}}'%max
+ if max: declare = 'x-declare:{arguments:{"qpid.max_count":%d, "qpid.flow_stop_count":0}}'%max
else: declare = 'x-declare:{}'
bind='x-bindings:[{queue:%s,key:key,exchange:"amq.topic"}]'%(q)
s0.sender("%s;{create:always,node:{%s,%s}}" % (q,declare,bind))