activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1489465 - /activemq/trunk/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java
Date Tue, 04 Jun 2013 15:15:56 GMT
Author: tabish
Date: Tue Jun  4 15:15:50 2013
New Revision: 1489465

URL: http://svn.apache.org/r1489465
Log:
patch for https://issues.apache.org/jira/browse/AMQ-4568 to add a test timeout

Modified:
    activemq/trunk/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java

Modified: activemq/trunk/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java?rev=1489465&r1=1489464&r2=1489465&view=diff
==============================================================================
--- activemq/trunk/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java
(original)
+++ activemq/trunk/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTransformerTest.java
Tue Jun  4 15:15:50 2013
@@ -16,6 +16,21 @@
  */
 package org.apache.activemq.transport.amqp;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
+import javax.jms.BytesMessage;
+import javax.jms.Connection;
+import javax.jms.ExceptionListener;
+import javax.jms.JMSException;
+import javax.jms.Message;
+import javax.jms.MessageConsumer;
+import javax.jms.MessageProducer;
+import javax.jms.Queue;
+import javax.jms.Session;
+import javax.jms.TextMessage;
+
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.activemq.broker.BrokerService;
 import org.apache.activemq.broker.TransportConnector;
@@ -24,12 +39,6 @@ import org.apache.qpid.amqp_1_0.jms.impl
 import org.junit.After;
 import org.junit.Test;
 
-import javax.jms.*;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
 /**
  * @author <a href="http://www.christianposta.com/blog">Christian Posta</a>
  */
@@ -89,7 +98,7 @@ public class AmqpTransformerTest {
 
     }
 
-    @Test
+    @Test(timeout=30000)
     public void testRawTransformation() throws Exception {
 
         // default is native



Mime
View raw message