Author: rajdavies
Date: Fri Aug 15 08:48:00 2008
New Revision: 686257
URL: http://svn.apache.org/viewvc?rev=686257&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-1878
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java?rev=686257&r1=686256&r2=686257&view=diff
==============================================================================
---
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java
(original)
+++
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java
Fri Aug 15 08:48:00 2008
@@ -54,7 +54,7 @@
protected Connection connection;
protected boolean transacted;
protected int authMode = Session.AUTO_ACKNOWLEDGE;
- protected static final int MESSAGE_COUNT =
2*BaseDestination.DEFAULT_PAGE_SIZE;
+ protected static final int MESSAGE_COUNT = 2*BaseDestination.MAX_PAGE_SIZE;
/**
* When you run this test case from the command line it will pause before
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java?rev=686257&r1=686256&r2=686257&view=diff
==============================================================================
---
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java
(original)
+++
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java
Fri Aug 15 08:48:00 2008
@@ -310,5 +310,13 @@
public void removeDestination(Destination destination) {
}
+ /* (non-Javadoc)
+ * @see
org.apache.activemq.broker.region.Subscription#countBeforeFull()
+ */
+ public int countBeforeFull() {
+ // TODO Auto-generated method stub
+ return 10;
+ }
+
}
}