summaryrefslogtreecommitdiff
path: root/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
commit51d4bf1a1a07e53164c6e771f6ecf10e3ffca4ec (patch)
treefd5a110a8e22909a21c6c165fed801215ad87a96 /cpp/src
parent0fb7ff9cfbfd01e9093c2c6021a5915696d2a089 (diff)
downloadqpid-python-51d4bf1a1a07e53164c6e771f6ecf10e3ffca4ec.tar.gz
Added flow control to failover_test in cluster_tests.py.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/tests/cluster_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py
index 65c91b1d81..f3b71d700c 100755
--- a/cpp/src/tests/cluster_tests.py
+++ b/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.