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
1 changed files with 2 additions and 2 deletions

View File

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