activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r892816 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java
Date Mon, 21 Dec 2009 13:30:30 GMT
Author: dejanb
Date: Mon Dec 21 13:30:29 2009
New Revision: 892816

URL: http://svn.apache.org/viewvc?rev=892816&view=rev
Log:
adapting jdbc audit test

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java?rev=892816&r1=892815&r2=892816&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java
Mon Dec 21 13:30:29 2009
@@ -39,7 +39,10 @@
     }
     
     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();



Mime
View raw message