jeanouii commented on code in PR #1711:
URL: https://github.com/apache/activemq/pull/1711#discussion_r2853610743
##########
activemq-pool/src/test/java/org/apache/activemq/pool/ConnectionFailureEvictsFromPoolTest.java:
##########
@@ -94,17 +95,27 @@ public void doTestEviction(ConnectionFactory pooledFactory)
throws Exception {
final CountDownLatch gotExceptionEvent = new CountDownLatch(1);
try (final PooledConnection connection = (PooledConnection)
pooledFactory.createConnection()) {
final ActiveMQConnection amqC = (ActiveMQConnection)
connection.getConnection();
- amqC.addTransportListener(new TransportListener() {
+ // Intercept exception propagation at the MockTransport level
where it fires
Review Comment:
See #1666
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact