summaryrefslogtreecommitdiff
path: root/cpp/src/tests/cluster_test.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-11-05 09:22:14 +0000
committerGordon Sim <gsim@apache.org>2008-11-05 09:22:14 +0000
commitd3f652de187cac449e1fae4e00fce59c204f020a (patch)
treee24a4a1ddf6b4f644d0fe6cf158aeed55d598d26 /cpp/src/tests/cluster_test.cpp
parent55f763b930b3a9743d355df95b7fbd126fc35566 (diff)
downloadqpid-python-d3f652de187cac449e1fae4e00fce59c204f020a.tar.gz
fixed compilation warnings from comparison of signed and unsigned ints
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_test.cpp')
-rw-r--r--cpp/src/tests/cluster_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/cluster_test.cpp b/cpp/src/tests/cluster_test.cpp
index d8f366009d..623c033e4c 100644
--- a/cpp/src/tests/cluster_test.cpp
+++ b/cpp/src/tests/cluster_test.cpp
@@ -468,7 +468,7 @@ QPID_AUTO_TEST_CASE(DumpConsumers) {
// Kill the subscribing member, ensure further messages are not removed.
cluster.killWithSilencer(0,c0.connection,9);
- BOOST_REQUIRE_EQUAL(knownBrokerPorts(c1.connection, 2).size(), 2);
+ BOOST_REQUIRE_EQUAL(knownBrokerPorts(c1.connection, 2).size(), 2u);
for (int i = 0; i < 10; ++i) {
c1.session.messageTransfer(arg::content=Message("xxx", "q"));
BOOST_REQUIRE(c1.subs.get(m, "q", TIME_SEC));
@@ -495,7 +495,7 @@ QPID_AUTO_TEST_CASE(testCatchupSharedState) {
c0.session.messageTransfer(arg::content=Message("pfoo","p"));
// Do some work post-join
- BOOST_REQUIRE_EQUAL(knownBrokerPorts(c0.connection, 2).size(), 2);
+ BOOST_REQUIRE_EQUAL(knownBrokerPorts(c0.connection, 2).size(), 2u);
c0.session.messageTransfer(arg::content=Message("pbar","p"));
// Verify new brokers have state.