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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to