activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r892818 - /activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java
Date Mon, 21 Dec 2009 13:32:26 GMT
Author: dejanb
Date: Mon Dec 21 13:32:25 2009
New Revision: 892818

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

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

Modified: activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java
URL: http://svn.apache.org/viewvc/activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java?rev=892818&r1=892817&r2=892818&view=diff
==============================================================================
--- activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java
(original)
+++ activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java
Mon Dec 21 13:32:25 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