activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kea...@apache.org
Subject [2/2] git commit: Added some logging to try to help debug occasional CI failures
Date Fri, 24 Jan 2014 11:10:21 GMT
Added some logging to try to help debug occasional CI failures


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

Branch: refs/heads/trunk
Commit: 770539d530acc7fcf38b946318e49c76cab0114b
Parents: a6edc41
Author: Kevin Earls <kevin@kevinearls.com>
Authored: Fri Jan 24 12:10:11 2014 +0100
Committer: Kevin Earls <kevin@kevinearls.com>
Committed: Fri Jan 24 12:10:11 2014 +0100

----------------------------------------------------------------------
 .../apache/activemq/ra/JmsXARollback2CxTransactionTest.java | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/770539d5/activemq-ra/src/test/java/org/apache/activemq/ra/JmsXARollback2CxTransactionTest.java
----------------------------------------------------------------------
diff --git a/activemq-ra/src/test/java/org/apache/activemq/ra/JmsXARollback2CxTransactionTest.java
b/activemq-ra/src/test/java/org/apache/activemq/ra/JmsXARollback2CxTransactionTest.java
index fc88be2..bc1d096 100644
--- a/activemq-ra/src/test/java/org/apache/activemq/ra/JmsXARollback2CxTransactionTest.java
+++ b/activemq-ra/src/test/java/org/apache/activemq/ra/JmsXARollback2CxTransactionTest.java
@@ -34,11 +34,14 @@ import javax.resource.ResourceException;
 
 import org.apache.activemq.*;
 import org.apache.activemq.ActiveMQConnectionFactory;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * @version $Rev$ $Date$
  */
 public class JmsXARollback2CxTransactionTest extends JmsQueueTransactionTest {
+    protected static final Logger LOG = LoggerFactory.getLogger(JmsXARollback2CxTransactionTest.class);
     private static final String DEFAULT_HOST = "vm://localhost?create=false";
 
     private ConnectionManagerAdapter connectionManager = new ConnectionManagerAdapter();
@@ -48,6 +51,12 @@ public class JmsXARollback2CxTransactionTest extends JmsQueueTransactionTest
{
     private int index = 0;
 
     @Override
+    protected void setUp() throws Exception {
+        LOG.info("Starting ----------------------------> {}", this.getName());
+        super.setUp();
+    }
+
+    @Override
     protected void setSessionTransacted() {
         resourceProvider.setTransacted(false);
         resourceProvider.setAckMode(Session.AUTO_ACKNOWLEDGE);


Mime
View raw message