Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
ExternalACL#testAccessVirtualHostWithName test fails with assertion failure:
Error Message Unexpected exception message expected:<...reating connection: [Permission denied: test]> but was:<...reating connection: [Socket closed]> Stacktrace junit.framework.ComparisonFailure: Unexpected exception message expected:<...reating connection: [Permission denied: test]> but was:<...reating connection: [Socket closed]> at junit.framework.Assert.assertEquals(Assert.java:100) at junit.framework.TestCase.assertEquals(TestCase.java:261) at org.apache.qpid.server.security.acl.ExternalACLTest.assertAccessDeniedException(ExternalACLTest.java:78) at org.apache.qpid.server.security.acl.ExternalACLTest.testAccessVirtualHostWithName(ExternalACLTest.java:108)
It seems that there is a race condition. If the Broker closes the socket before the client has reported the connection close reason back to the client, the cause of the connection close is lost.
Attachments
Attachments
Issue Links
- duplicates
-
QPID-6350 [AMQP0-10] Original connection exception lost if Broker closes socket before client
- Closed