mirror of https://github.com/apache/activemq.git
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:
parent
02d57284a4
commit
98a0f39b34
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue