From 37b8b1ae95d7da0f486d5f5e385f28e1458dcc5f Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Thu, 1 Apr 2010 02:57:22 +0000 Subject: Adapted test to an API change in qmf.console. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929790 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/verify_cluster_objects | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src') diff --git a/cpp/src/tests/verify_cluster_objects b/cpp/src/tests/verify_cluster_objects index 664b88cb3b..be6d67d81a 100755 --- a/cpp/src/tests/verify_cluster_objects +++ b/cpp/src/tests/verify_cluster_objects @@ -88,7 +88,7 @@ class Broker(object): agents = qmf.getAgents() for a in agents: - if a.getAgentBank() == 0: + if a.getAgentBank() == '0': self.brokerAgent = a bobj = qmf.getObjects(_class="broker", _package="org.apache.qpid.broker", @@ -228,7 +228,7 @@ class BrokerManager: self.broker = self.qmf.addBroker(brokerUrl, _connTimeout) agents = self.qmf.getAgents() for a in agents: - if a.getAgentBank() == 0: + if a.getAgentBank() == '0': self.brokerAgent = a def Disconnect(self): -- cgit v1.2.1