summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-04-01 02:57:22 +0000
committerTed Ross <tross@apache.org>2010-04-01 02:57:22 +0000
commit37b8b1ae95d7da0f486d5f5e385f28e1458dcc5f (patch)
treea22ae0bfde9d00956fc3cceeafabf1cad9d5d676 /cpp/src
parentaa214489d9f0ab88fa3999a6072b690ec0bd4cef (diff)
downloadqpid-python-37b8b1ae95d7da0f486d5f5e385f28e1458dcc5f.tar.gz
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
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/tests/verify_cluster_objects4
1 files changed, 2 insertions, 2 deletions
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):