summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Cpg.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-02-01 18:02:42 +0000
committerAlan Conway <aconway@apache.org>2008-02-01 18:02:42 +0000
commit956866626ca7b11cc55061ccf56959f978d586ec (patch)
treefaf661d0319505a2b4c57bc63ce6c03c3b7edf39 /qpid/cpp/src/tests/Cpg.cpp
parentd7c06001e741bd73d371021576452707afbcb1a9 (diff)
downloadqpid-python-956866626ca7b11cc55061ccf56959f978d586ec.tar.gz
Cluster code fixed for changes in codebase.
- Using SessionManager::Observer - Better ais test setup, only need to be member of ais group. - Update cluster_client - SessionState holds handler chains. - Cluster frames include next handler ptr. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@617582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Cpg.cpp')
-rw-r--r--qpid/cpp/src/tests/Cpg.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/Cpg.cpp b/qpid/cpp/src/tests/Cpg.cpp
index fddfe9ef05..e8339bf773 100644
--- a/qpid/cpp/src/tests/Cpg.cpp
+++ b/qpid/cpp/src/tests/Cpg.cpp
@@ -78,12 +78,16 @@ struct Callback : public Cpg::Handler {
cpg_handle_t /*handle*/,
struct cpg_name *grp,
struct cpg_address */*members*/, int nMembers,
- struct cpg_address */*left*/, int /*nLeft*/,
- struct cpg_address */*joined*/, int /*nJoined*/
+ struct cpg_address */*left*/, int nLeft,
+ struct cpg_address */*joined*/, int nJoined
)
{
BOOST_CHECK_EQUAL(group, Cpg::str(*grp));
configChanges.push_back(nMembers);
+ BOOST_MESSAGE("configChange: "<<
+ nLeft<<" left "<<
+ nJoined<<" joined "<<
+ nMembers<<" members.");
}
};