ensure test uses clean slate as previous priority tests can leave additional rows in the db

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1073671 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-02-23 10:08:44 +00:00
parent cb967831d6
commit 3419bb7ca5
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class DurableSubscriptionReactivationTest extends EmbeddedBrokerTestSuppo
BrokerService answer = super.createBroker();
answer.setKeepDurableSubsActive(keepDurableSubsActive);
answer.setPersistenceAdapter(new JDBCPersistenceAdapter());
answer.setDeleteAllMessagesOnStartup(true);
return answer;
}