summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster_tests.py
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-06-30 11:54:40 +0000
committerAlan Conway <aconway@apache.org>2011-06-30 11:54:40 +0000
commitafe7ad5d1af40b41b98dbc6d9c3d0e22b91f2a26 (patch)
tree83bae97c591a3694becbea1b3cceafd9213034ca /qpid/cpp/src/tests/cluster_tests.py
parent2e32a8dd1d548cc591cacaad3f7105e6a9521a18 (diff)
downloadqpid-python-afe7ad5d1af40b41b98dbc6d9c3d0e22b91f2a26.tar.gz
QPID-3329: Configure C++ client connections to replace url-addresses rather than merging new addresses with old
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141493 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_tests.py')
-rwxr-xr-xqpid/cpp/src/tests/cluster_tests.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/qpid/cpp/src/tests/cluster_tests.py b/qpid/cpp/src/tests/cluster_tests.py
index 97c53e3d97..bfc44abfef 100755
--- a/qpid/cpp/src/tests/cluster_tests.py
+++ b/qpid/cpp/src/tests/cluster_tests.py
@@ -314,7 +314,7 @@ acl allow all all
"--sequence=true",
"--send-eos=1",
"--messages=100000",
- "--connection-options={reconnect:true,reconnect-timeout:5}"
+ "--connection-options={%s}"%(Cluster.CONNECTION_OPTIONS)
])
self.receiver = self.popen(
["qpid-receive",
@@ -322,7 +322,7 @@ acl allow all all
"--address", queue,
"--ignore-duplicates",
"--check-redelivered",
- "--connection-options={reconnect:true,reconnect-timeout:5}",
+ "--connection-options={%s}"%(Cluster.CONNECTION_OPTIONS),
"--forever"
])
time.sleep(1)#give sender enough time to have some messages to replay
@@ -470,7 +470,7 @@ acl allow all all
"--content-size=%s" % self.size,
"--messages=%s" % self.count,
"--failover-updates",
- "--connection-options={reconnect:true,reconnect-timeout:5}",
+ "--connection-options={%s}"%(Cluster.CONNECTION_OPTIONS),
"--address=%s" % self.queue,
"--broker=%s" % self.broker.host_port()])
self.sender.wait()
@@ -502,7 +502,7 @@ acl allow all all
"--timeout=1",
"--print-content=no",
"--failover-updates",
- "--connection-options={reconnect:true,reconnect-timeout:5}",
+ "--connection-options={%s}"%(Cluster.CONNECTION_OPTIONS),
"--ack-frequency=1",
"--address=flq",
"--broker=%s" % cluster[1].host_port()])
@@ -527,7 +527,7 @@ acl allow all all
"--timeout=1",
"--print-content=no",
"--failover-updates",
- "--connection-options={reconnect:true,reconnect-timeout:5}",
+ "--connection-options={%s}"%(Cluster.CONNECTION_OPTIONS),
"--ack-frequency=1",
"--address=flq",
"--broker=%s" % cluster[2].host_port()])