summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Cluster_child.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-10-29 21:14:44 +0000
committerAlan Conway <aconway@apache.org>2007-10-29 21:14:44 +0000
commitb29d9eea42c217b457bb298bad390415ecf5eeff (patch)
treed6e5fed83b962eef780f3aa73509590b6ac66a17 /qpid/cpp/src/tests/Cluster_child.cpp
parent36b42cd7921cae46f99cc6bf1c83f2ddacf21395 (diff)
downloadqpid-python-b29d9eea42c217b457bb298bad390415ecf5eeff.tar.gz
client/BlockingQueue.h, sys/ConcurrentQueue.h: merged to sys/BlockingQueue.h
- updated all users qpid/Exception.h: Removed unimplemented clone() function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@589857 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Cluster_child.cpp')
-rw-r--r--qpid/cpp/src/tests/Cluster_child.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/Cluster_child.cpp b/qpid/cpp/src/tests/Cluster_child.cpp
index c03d7396f0..8d0682473b 100644
--- a/qpid/cpp/src/tests/Cluster_child.cpp
+++ b/qpid/cpp/src/tests/Cluster_child.cpp
@@ -35,8 +35,7 @@ static const ProtocolVersion VER;
/** Child part of Cluster::clusterTwo test */
void clusterTwo() {
TestCluster cluster("clusterTwo", "amqp:child:2");
- AMQFrame frame;
- BOOST_REQUIRE(cluster.received.waitPop(frame)); // Frame from parent.
+ AMQFrame frame = cluster.received.pop(frame); // Frame from parent.
BOOST_CHECK_TYPEID_EQUAL(SessionOpenBody, *frame.getBody());
BOOST_CHECK_EQUAL(2u, cluster.size()); // Me and parent