activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject [1/2] git commit: Add a timeout in case of hang.
Date Mon, 10 Feb 2014 18:25:59 GMT
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 <tabish121@gmai.com>
Authored: Mon Feb 10 13:25:19 2014 -0500
Committer: Timothy Bish <tabish121@gmai.com>
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();


Mime
View raw message