From 1f473a33b3e5b5becd77b14508b06389c2ecd70a Mon Sep 17 00:00:00 2001 From: Kenneth Anthony Giusti Date: Tue, 3 May 2011 22:04:51 +0000 Subject: 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 --- qpid/cpp/src/tests/cluster_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src/tests/cluster_tests.py') 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)) -- cgit v1.2.1