qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3477) Java Broker does not handle a rejection/acknowledgemnt with invalid code correctly
Date Mon, 20 Feb 2012 21:11:34 GMT

    [ https://issues.apache.org/jira/browse/QPID-3477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212077#comment-13212077
] 

Rob Godfrey commented on QPID-3477:
-----------------------------------

Agree - I'm assuming that the test is not supposed to be a test of invalid codes.  We should
change the code to 0 "unspecified".

The Broker issue (that we should disconnect because of a protocol error should be separately
JIRAd
                
> Java Broker does not handle a rejection/acknowledgemnt with invalid code correctly
> ----------------------------------------------------------------------------------
>
>                 Key: QPID-3477
>                 URL: https://issues.apache.org/jira/browse/QPID-3477
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.12
>            Reporter: Andrew MacBean
>            Priority: Minor
>         Attachments: QPID-3477-java-broker-not-handling-reject-code-correctly.txt
>
>
> When running the Python client 0-10 tests against the Java broker it was noticed that
the following test would cause test run to hang/time out:
> qpid.tests.messaging.endpoints.SessionTests.testReject
> It appears that this is because the Java broker does not handle the following call correctly:
> self.ssn.acknowledge(echos[2], Disposition(REJECTED, code=3, text="test-reject"))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message