Jean-Louis Monteiro created AMQ-9828:
----------------------------------------

             Summary: PooledConnectionSecurityExceptionTest race condition bug
                 Key: AMQ-9828
                 URL: https://issues.apache.org/jira/browse/AMQ-9828
             Project: ActiveMQ
          Issue Type: Bug
          Components: Pool
            Reporter: Jean-Louis Monteiro


There is a race condition that makes the test to fail on faster CI especially 
when running on Java 25 (as far as I can observe). This is due to the test 
asserting JMSSecurityException and receiving instead JMSException. When trying 
to connect with bad credentials, the exception returned is JMSException because 
onException happens asynchronously so sometimes we get JMSSecurityException 
sometimes we get JMSException



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to