mirror of https://github.com/apache/activemq.git
Added some logging to try to help debug occasional CI failures
This commit is contained in:
parent
a6edc416d6
commit
770539d530
|
@ -34,11 +34,14 @@ import javax.resource.ResourceException;
|
||||||
|
|
||||||
import org.apache.activemq.*;
|
import org.apache.activemq.*;
|
||||||
import org.apache.activemq.ActiveMQConnectionFactory;
|
import org.apache.activemq.ActiveMQConnectionFactory;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Rev$ $Date$
|
* @version $Rev$ $Date$
|
||||||
*/
|
*/
|
||||||
public class JmsXARollback2CxTransactionTest extends JmsQueueTransactionTest {
|
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 static final String DEFAULT_HOST = "vm://localhost?create=false";
|
||||||
|
|
||||||
private ConnectionManagerAdapter connectionManager = new ConnectionManagerAdapter();
|
private ConnectionManagerAdapter connectionManager = new ConnectionManagerAdapter();
|
||||||
|
@ -47,6 +50,12 @@ public class JmsXARollback2CxTransactionTest extends JmsQueueTransactionTest {
|
||||||
private XAResource[] xares = new XAResource[2];
|
private XAResource[] xares = new XAResource[2];
|
||||||
private int index = 0;
|
private int index = 0;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void setUp() throws Exception {
|
||||||
|
LOG.info("Starting ----------------------------> {}", this.getName());
|
||||||
|
super.setUp();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void setSessionTransacted() {
|
protected void setSessionTransacted() {
|
||||||
resourceProvider.setTransacted(false);
|
resourceProvider.setTransacted(false);
|
||||||
|
|
Loading…
Reference in New Issue