summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/ClusterFixture.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-10-05 15:08:25 +0000
committerAlan Conway <aconway@apache.org>2009-10-05 15:08:25 +0000
commit8ce9685df2740db53676d1bdc17329507ddb747d (patch)
tree8231ed62780c32d3add3addcbe4cb93ac8ded240 /qpid/cpp/src/tests/ClusterFixture.h
parent382459758bcb7366e07c3cae4e154128f0a66bb1 (diff)
downloadqpid-python-8ce9685df2740db53676d1bdc17329507ddb747d.tar.gz
Fixed: cluster udpate did not presever deliver-properties.exchange on messages.
Also minor improvements: - Improved debug logging for consumers. - Cluster tests scripts work with latest corosync: don't check/set ais group. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821830 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ClusterFixture.h')
-rw-r--r--qpid/cpp/src/tests/ClusterFixture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/ClusterFixture.h b/qpid/cpp/src/tests/ClusterFixture.h
index 5952cc1736..1eee32b9a4 100644
--- a/qpid/cpp/src/tests/ClusterFixture.h
+++ b/qpid/cpp/src/tests/ClusterFixture.h
@@ -75,10 +75,10 @@ class ClusterFixture : public vector<uint16_t> {
/** @param localIndex can be -1 meaning don't automatically start a local broker.
* A local broker can be started with addLocal().
*/
- ClusterFixture(size_t n, const Args& args, int localIndex=0);
+ ClusterFixture(size_t n, const Args& args, int localIndex=-1);
/**@param updateArgs function is passed the index of the cluster member and can update the arguments. */
- ClusterFixture(size_t n, boost::function<void (Args&, size_t)> updateArgs, int localIndex);
+ ClusterFixture(size_t n, boost::function<void (Args&, size_t)> updateArgs, int localIndex=-1);
void add(size_t n) { for (size_t i=0; i < n; ++i) add(); }
void add(); // Add a broker.