|
16 | 16 | */ |
17 | 17 | package org.apache.activemq.jms.pool; |
18 | 18 |
|
19 | | -import static org.junit.Assert.assertNotSame; |
20 | | -import static org.junit.Assert.assertTrue; |
21 | | -import static org.junit.Assert.fail; |
22 | | - |
23 | | -import java.util.ArrayList; |
24 | | -import java.util.List; |
25 | | - |
26 | 19 | import jakarta.jms.Connection; |
27 | 20 | import jakarta.jms.ExceptionListener; |
28 | 21 | import jakarta.jms.JMSException; |
29 | 22 | import jakarta.jms.JMSSecurityException; |
30 | 23 | import jakarta.jms.MessageProducer; |
31 | 24 | import jakarta.jms.Queue; |
32 | 25 | import jakarta.jms.Session; |
33 | | - |
34 | 26 | import org.apache.activemq.ActiveMQConnectionFactory; |
35 | 27 | import org.apache.activemq.broker.BrokerPlugin; |
36 | 28 | import org.apache.activemq.broker.BrokerService; |
|
50 | 42 | import org.slf4j.Logger; |
51 | 43 | import org.slf4j.LoggerFactory; |
52 | 44 |
|
| 45 | +import java.util.ArrayList; |
| 46 | +import java.util.List; |
| 47 | + |
| 48 | +import static org.junit.Assert.assertNotSame; |
| 49 | +import static org.junit.Assert.assertTrue; |
| 50 | +import static org.junit.Assert.fail; |
| 51 | + |
53 | 52 | /** |
54 | 53 | * Test Pooled connections ability to handle security exceptions |
55 | 54 | */ |
@@ -112,7 +111,6 @@ public void onException(JMSException exception) { |
112 | 111 | @Test |
113 | 112 | public void testFailureGetsNewConnectionOnRetryLooped() throws Exception { |
114 | 113 | for (int i = 0; i < 10; ++i) { |
115 | | - LOG.info("Iteration: {}", i); |
116 | 114 | testFailureGetsNewConnectionOnRetry(); |
117 | 115 | } |
118 | 116 | } |
|
0 commit comments