adapting jdbc audit test

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2009-12-21 13:30:29 +00:00
parent ae840c4b04
commit 6cde61831e
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,10 @@ public class JDBCPersistenceAdapterTest extends PersistenceAdapterTestSupport {
}
public void testAuditOff() throws Exception {
((JDBCPersistenceAdapter)pa).setEnableAudit(false);
pa.stop();
pa = createPersistenceAdapter(true);
((JDBCPersistenceAdapter)pa).setEnableAudit(false);
pa.start();
boolean failed = true;
try {
testStoreCanHandleDupMessages();