mirror of https://github.com/apache/activemq.git
Add a timeout in case of hang.
This commit is contained in:
parent
1e7dc12c30
commit
cdfb562455
|
@ -694,7 +694,7 @@ public class JMSClientTest extends AmqpTestSupport {
|
||||||
assertTrue("No exception listener event fired.", called.await(15, TimeUnit.SECONDS));
|
assertTrue("No exception listener event fired.", called.await(15, TimeUnit.SECONDS));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test(timeout=40000)
|
||||||
public void testSessionTransactedCommit() throws JMSException, InterruptedException {
|
public void testSessionTransactedCommit() throws JMSException, InterruptedException {
|
||||||
|
|
||||||
Connection connection = createConnection();
|
Connection connection = createConnection();
|
||||||
|
|
Loading…
Reference in New Issue