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:
Timothy A. Bish 2013-01-09 22:42:37 +00:00
parent ac23437828
commit dafc8254ca
1 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@ package org.apache.activemq.bugs;
import java.io.File;
import java.util.Vector;
import java.util.concurrent.atomic.AtomicInteger;
import javax.jms.Connection;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
@ -26,6 +27,7 @@ import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.MessageProducer;
import javax.jms.Session;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.activemq.ActiveMQPrefetchPolicy;
import org.apache.activemq.TestSupport;
@ -55,7 +57,7 @@ public class MemoryUsageBlockResumeTest extends TestSupport implements Thread.Un
Destination bigDestination = new ActiveMQQueue("FooTwoBig");
private String connectionUri;
private Vector<Throwable> exceptions = new Vector<Throwable>();
private final Vector<Throwable> exceptions = new Vector<Throwable>();
public void testBlockByOtherResumeNoException() throws Exception {
@ -176,7 +178,7 @@ public class MemoryUsageBlockResumeTest extends TestSupport implements Thread.Un
broker = new BrokerService();
broker.setDataDirectory("target" + File.separator + "activemq-data");
broker.setPersistent(true);
broker.setUseJmx(true);
broker.setUseJmx(false);
broker.setAdvisorySupport(false);
broker.setDeleteAllMessagesOnStartup(true);