From 025c2316d9c12afc3e39df2a66ce8e2576c728b2 Mon Sep 17 00:00:00 2001 From: Kevin Earls Date: Mon, 29 Sep 2014 14:47:54 +0200 Subject: [PATCH] Added timeouts to prevent hangs during CI builds --- .../apache/activemq/transport/amqp/AmqpTransformerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java index 3b4aecf567..9a8b3f625b 100644 --- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java +++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java @@ -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