Updated Branches:
  refs/heads/trunk 519d8f7db -> cdfb56245

Add a timeout in case of hang.

Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/cdfb5624
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/cdfb5624
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/cdfb5624

Branch: refs/heads/trunk
Commit: cdfb56245510682b97f71a336c054bb39dcffbfd
Parents: 1e7dc12
Author: Timothy Bish <[email protected]>
Authored: Mon Feb 10 13:25:19 2014 -0500
Committer: Timothy Bish <[email protected]>
Committed: Mon Feb 10 13:25:47 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/activemq/transport/amqp/JMSClientTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/cdfb5624/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JMSClientTest.java
----------------------------------------------------------------------
diff --git 
a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JMSClientTest.java
 
b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JMSClientTest.java
index 20d1f22..e9c07ad 100644
--- 
a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JMSClientTest.java
+++ 
b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JMSClientTest.java
@@ -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();

Reply via email to