activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1073671 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionReactivationTest.java
Date Wed, 23 Feb 2011 10:08:44 GMT
Author: gtully
Date: Wed Feb 23 10:08:44 2011
New Revision: 1073671

URL: http://svn.apache.org/viewvc?rev=1073671&view=rev
Log:
ensure test uses clean slate as previous priority tests can leave additional rows in the db

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionReactivationTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionReactivationTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionReactivationTest.java?rev=1073671&r1=1073670&r2=1073671&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionReactivationTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionReactivationTest.java
Wed Feb 23 10:08:44 2011
@@ -81,6 +81,7 @@ public class DurableSubscriptionReactiva
         BrokerService answer = super.createBroker();
         answer.setKeepDurableSubsActive(keepDurableSubsActive);
         answer.setPersistenceAdapter(new JDBCPersistenceAdapter());
+        answer.setDeleteAllMessagesOnStartup(true);
         return answer;
     }
 



Mime
View raw message