qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-4643) In ping_broker, by way of ssl_test, broker.echo returns None
Date Mon, 11 Mar 2013 20:27:14 GMT
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

View raw message