Add a timeout in case of hang.

This commit is contained in:
Timothy Bish 2014-02-10 13:25:19 -05:00
parent 1e7dc12c30
commit cdfb562455
1 changed files with 1 additions and 1 deletions

View File

@ -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();