activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r366443 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/AutoFailTestSupport.java
Date Fri, 06 Jan 2006 07:13:40 GMT
Author: aco
Date: Thu Jan  5 23:13:28 2006
New Revision: 366443

URL: http://svn.apache.org/viewcvs?rev=366443&view=rev
Log:
Reset checking for successful test every test setUp.

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/AutoFailTestSupport.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/AutoFailTestSupport.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/AutoFailTestSupport.java?rev=366443&r1=366442&r2=366443&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/AutoFailTestSupport.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/AutoFailTestSupport.java
Thu Jan  5 23:13:28 2006
@@ -39,7 +39,7 @@
 
     private boolean       verbose     = true;
     private boolean       useAutoFail = false; // Disable auto fail by default
-    private AtomicBoolean isTestSuccess = new AtomicBoolean(false);
+    private AtomicBoolean isTestSuccess;
 
     protected void setUp() throws Exception {
         // Runs the auto fail thread before performing any setup
@@ -63,6 +63,7 @@
      */
     public void startAutoFailThread() {
         setAutoFail(true);
+        isTestSuccess = new AtomicBoolean(false);
         autoFailThread = new Thread(new Runnable() {
             public void run() {
                 try {



Mime
View raw message