NO-JIRA fixing checkstyle and tearDown on a test

This commit is contained in:
Clebert Suconic 2016-12-21 12:15:14 -05:00
parent 66b24d16c4
commit d61ca69b64
2 changed files with 1 additions and 2 deletions

View File

@ -95,6 +95,7 @@ public class BasicOpenWireTest extends OpenWireTestBase {
@Override
@After
public void tearDown() throws Exception {
System.clearProperty("org.apache.activemq.transport.AbstractInactivityMonitor.keepAliveTime");
System.out.println("tear down! " + connection);
try {
if (connection != null) {

View File

@ -28,9 +28,7 @@ import javax.jms.StreamMessage;
import javax.jms.TextMessage;
import java.nio.charset.StandardCharsets;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.activemq.ActiveMQMessageProducer;
import org.apache.activemq.ActiveMQXAConnectionFactory;
import org.apache.activemq.artemis.tests.integration.openwire.BasicOpenWireTest;
import org.apache.activemq.command.ActiveMQDestination;
import org.junit.Before;