make sure we delete the db before running a test

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649189 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-04-17 17:08:08 +00:00
parent 09d7d5a9e1
commit 481ce1ca96

View File

@ -35,8 +35,9 @@ public class KahaDurableTopicTest extends SimpleDurableTopicTest {
protected void configureBroker(BrokerService answer,String uri) throws Exception {
KahaPersistenceAdapter adaptor = new KahaPersistenceAdapter();
answer.setPersistenceAdapter(adaptor);
answer.addConnector(uri);
answer.setDeleteAllMessagesOnStartup(true);
answer.addConnector(uri);
}
}