summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster_test.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-02-03 21:28:14 +0000
committerAlan Conway <aconway@apache.org>2009-02-03 21:28:14 +0000
commitd71457233eb57af17dea2e5d1dc56fdc4497da6a (patch)
tree9405c253055e2a2eb26400a50b203df160a988c0 /qpid/cpp/src/tests/cluster_test.cpp
parent788154168e3e243953c397b06ca3f4b25e4330da (diff)
downloadqpid-python-d71457233eb57af17dea2e5d1dc56fdc4497da6a.tar.gz
Fix for race conditions in cluster join.
- ConnectionDecoder: separated from Connection. - cluster/PollableQueue: stop processing frames if PollableQueue is stopped. - move state checks in event-queue handler to frame-queue handler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740459 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_test.cpp')
-rw-r--r--qpid/cpp/src/tests/cluster_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/cluster_test.cpp b/qpid/cpp/src/tests/cluster_test.cpp
index b7d28bf914..585c981afc 100644
--- a/qpid/cpp/src/tests/cluster_test.cpp
+++ b/qpid/cpp/src/tests/cluster_test.cpp
@@ -219,7 +219,7 @@ QPID_AUTO_TEST_CASE(testSequenceOptions) {
ClusterFixture cluster(1);
Client c0(cluster[0], "c0");
FieldTable args;
- args.setInt("qpid.msg_sequence", 1); // FIXME aconway 2008-11-11: works with "qpid.sequence_counter"??
+ args.setInt("qpid.msg_sequence", 1);
c0.session.queueDeclare(arg::queue="q");
c0.session.exchangeDeclare(arg::exchange="ex", arg::type="direct", arg::arguments=args);
c0.session.exchangeBind(arg::exchange="ex", arg::queue="q", arg::bindingKey="k");
@@ -452,7 +452,7 @@ QPID_AUTO_TEST_CASE(testConnectionKnownHosts) {
BOOST_CHECK_EQUAL(kb0, kb2);
}
-QPID_AUTO_TEST_CASE(UpdateConsumers) {
+QPID_AUTO_TEST_CASE(testUpdateConsumers) {
ClusterFixture cluster(1, 1);
Client c0(cluster[0], "c0");