You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2013/03/11 21:27:14 UTC
[jira] [Created] (QPID-4643) In ping_broker, by way of ssl_test,
broker.echo returns None
Justin Ross created QPID-4643:
---------------------------------
Summary: In ping_broker, by way of ssl_test, broker.echo returns None
Key: QPID-4643
URL: https://issues.apache.org/jira/browse/QPID-4643
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Environment: Fedora 16 x86-64
Reporter: Justin Ross
I fiddled with ping_broker to properly handle what looks like an unexpected state: the .echo call returns false.
I was not able to determine why it returned None.
Index: ping_broker
===================================================================
--- ping_broker (revision 1455242)
+++ ping_broker (working copy)
@@ -101,7 +101,7 @@
def Ping(self, args):
for sequence in range(10):
result = self.broker.echo(sequence, "ECHO BODY")
- if result['sequence'] != sequence:
+ if not result or result['sequence'] != sequence:
raise Exception("Invalid Sequence")
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org