mirror of
https://github.com/apache/activemq.git
synced 2025-02-09 03:25:33 +00:00
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));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test(timeout=40000)
|
||||
public void testSessionTransactedCommit() throws JMSException, InterruptedException {
|
||||
|
||||
Connection connection = createConnection();
|
||||
|
Loading…
x
Reference in New Issue
Block a user