activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1431125 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/MemoryUsageBlockResumeTest.java
Date Wed, 09 Jan 2013 22:42:37 GMT
Author: tabish
Date: Wed Jan  9 22:42:37 2013
New Revision: 1431125

URL: http://svn.apache.org/viewvc?rev=1431125&view=rev
Log:
turn off JMX, not needed in this test. 

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/MemoryUsageBlockResumeTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/MemoryUsageBlockResumeTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/MemoryUsageBlockResumeTest.java?rev=1431125&r1=1431124&r2=1431125&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/MemoryUsageBlockResumeTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/MemoryUsageBlockResumeTest.java
Wed Jan  9 22:42:37 2013
@@ -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 
     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 
         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);
 



Mime
View raw message