Added timeouts to prevent hangs during CI builds

This commit is contained in:
Kevin Earls 2014-09-29 14:47:54 +02:00
parent 8f138473de
commit 025c2316d9

View File

@ -52,7 +52,7 @@ public class AmqpTransformerTest {
private int openwirePort; private int openwirePort;
private static final String TEST_QUEUE = "txqueue"; private static final String TEST_QUEUE = "txqueue";
@Test @Test(timeout=60 * 1000)
public void testNativeTransformation() throws Exception { public void testNativeTransformation() throws Exception {
// default is native // default is native
@ -149,7 +149,7 @@ public class AmqpTransformerTest {
openwireConn.close(); openwireConn.close();
} }
@Test @Test(timeout=60 * 1000)
public void testJmsTransformation() throws Exception { public void testJmsTransformation() throws Exception {
// default is native // default is native