activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r904441 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java
Date Fri, 29 Jan 2010 10:00:51 GMT
Author: gtully
Date: Fri Jan 29 10:00:47 2010
New Revision: 904441

URL: http://svn.apache.org/viewvc?rev=904441&view=rev
Log:
ensure destination exists even if empty after recovery, intermittent failure in hudson

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java?rev=904441&r1=904440&r2=904441&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java
Fri Jan 29 10:00:47 2010
@@ -289,6 +289,7 @@
 	private BrokerService createBroker(boolean deleteAllMessages, long expireMessagesPeriod)
throws Exception {
 	    BrokerService broker = new BrokerService();
         broker.setBrokerName("localhost");
+        broker.setDestinations(new ActiveMQDestination[]{destination});
         AMQPersistenceAdapter adaptor = new AMQPersistenceAdapter();
         adaptor.setDirectory(new File("target/expiredtest-data/"));
         adaptor.setForceRecoverReferenceStore(true);



Mime
View raw message