ensure destination exists even if empty after recovery, intermittent failure in hudson

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904441 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-01-29 10:00:47 +00:00
parent 02d57284a4
commit 98a0f39b34
1 changed files with 1 additions and 0 deletions

View File

@ -289,6 +289,7 @@ public class ExpiredMessagesTest extends CombinationTestSupport {
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);