[
https://issues.apache.org/jira/browse/QPID-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698045#action_12698045
]
Martin Ritchie commented on QPID-1204:
--------------------------------------
It is possible that this test can fail because the test relys on an operation
on a failed connection to return the AuthenticationException. However, it is
possible that the session /StateManager becomes closed and so the subsequent
operation receives an IllegalStateException instead.
> SimpleACLTest is not accurate enough
> ------------------------------------
>
> Key: QPID-1204
> URL: https://issues.apache.org/jira/browse/QPID-1204
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Java Client, Java Tests
> Affects Versions: M3
> Reporter: Martin Ritchie
> Assignee: Martin Ritchie
>
> Summary:
> The SimpleACLTest is not comprehensive enough. e.g.
> testServerPublishInvalidQueueSuccess
> Is designed to test that the user 'server' cannot publish to an invalid
> queue. It doesn't test this!
> Due to the fact that send now validates the destination before publication
> this test is actually checking to see if the user 'server' can declare an
> exchange.
> Protocol logging in comments.
> Suggested Change:
> Our Exceptions from the broker should contain more detail about the cause of
> the error .. 'Access Denied to Exchange' for example so this test can check
> for 'Acecess Denied to Publish'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]