summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-11-24 22:40:53 +0000
committerAlan Conway <aconway@apache.org>2009-11-24 22:40:53 +0000
commitd65bec1539940b8d7f871d1bdd34719a2fdb9e64 (patch)
treee0d80a51c8104a68d9dd3f2c0a029999a02038e4 /qpid/cpp/src
parenta53255f11a8f8ee49aadec889981cea03934cc72 (diff)
downloadqpid-python-d65bec1539940b8d7f871d1bdd34719a2fdb9e64.tar.gz
Added flow control to failover_test in cluster_tests.py.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@883909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rwxr-xr-xqpid/cpp/src/tests/cluster_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/cluster_tests.py b/qpid/cpp/src/tests/cluster_tests.py
index 65c91b1d81..f3b71d700c 100755
--- a/qpid/cpp/src/tests/cluster_tests.py
+++ b/qpid/cpp/src/tests/cluster_tests.py
@@ -73,9 +73,9 @@ class LongTests(BrokerTest):
# Start sender and receiver threads
cluster[0].declare_queue("test-queue")
- receiver = NumberedReceiver(cluster[1])
+ sender = NumberedSender(cluster[1], 1000) # Max queue depth
+ receiver = NumberedReceiver(cluster[2], sender)
receiver.start()
- sender = NumberedSender(cluster[2])
sender.start()
# Kill original brokers, start new ones for the duration.