mirror of https://github.com/apache/activemq.git
turn off JMX, not needed in this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431125 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac23437828
commit
dafc8254ca
|
@ -19,6 +19,7 @@ package org.apache.activemq.bugs;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
import java.util.concurrent.atomic.AtomicInteger;
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
|
|
||||||
import javax.jms.Connection;
|
import javax.jms.Connection;
|
||||||
import javax.jms.DeliveryMode;
|
import javax.jms.DeliveryMode;
|
||||||
import javax.jms.Destination;
|
import javax.jms.Destination;
|
||||||
|
@ -26,6 +27,7 @@ import javax.jms.Message;
|
||||||
import javax.jms.MessageConsumer;
|
import javax.jms.MessageConsumer;
|
||||||
import javax.jms.MessageProducer;
|
import javax.jms.MessageProducer;
|
||||||
import javax.jms.Session;
|
import javax.jms.Session;
|
||||||
|
|
||||||
import org.apache.activemq.ActiveMQConnectionFactory;
|
import org.apache.activemq.ActiveMQConnectionFactory;
|
||||||
import org.apache.activemq.ActiveMQPrefetchPolicy;
|
import org.apache.activemq.ActiveMQPrefetchPolicy;
|
||||||
import org.apache.activemq.TestSupport;
|
import org.apache.activemq.TestSupport;
|
||||||
|
@ -55,7 +57,7 @@ public class MemoryUsageBlockResumeTest extends TestSupport implements Thread.Un
|
||||||
Destination bigDestination = new ActiveMQQueue("FooTwoBig");
|
Destination bigDestination = new ActiveMQQueue("FooTwoBig");
|
||||||
|
|
||||||
private String connectionUri;
|
private String connectionUri;
|
||||||
private Vector<Throwable> exceptions = new Vector<Throwable>();
|
private final Vector<Throwable> exceptions = new Vector<Throwable>();
|
||||||
|
|
||||||
public void testBlockByOtherResumeNoException() throws Exception {
|
public void testBlockByOtherResumeNoException() throws Exception {
|
||||||
|
|
||||||
|
@ -176,7 +178,7 @@ public class MemoryUsageBlockResumeTest extends TestSupport implements Thread.Un
|
||||||
broker = new BrokerService();
|
broker = new BrokerService();
|
||||||
broker.setDataDirectory("target" + File.separator + "activemq-data");
|
broker.setDataDirectory("target" + File.separator + "activemq-data");
|
||||||
broker.setPersistent(true);
|
broker.setPersistent(true);
|
||||||
broker.setUseJmx(true);
|
broker.setUseJmx(false);
|
||||||
broker.setAdvisorySupport(false);
|
broker.setAdvisorySupport(false);
|
||||||
broker.setDeleteAllMessagesOnStartup(true);
|
broker.setDeleteAllMessagesOnStartup(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue