cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1183212 - /cxf/trunk/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java
Date Fri, 14 Oct 2011 02:53:08 GMT
Author: ningjiang
Date: Fri Oct 14 02:53:08 2011
New Revision: 1183212

URL: http://svn.apache.org/viewvc?rev=1183212&view=rev
Log:
Try to fix the AutomaticWorkQueueTest test failure

Modified:
    cxf/trunk/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java

Modified: cxf/trunk/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java?rev=1183212&r1=1183211&r2=1183212&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java (original)
+++ cxf/trunk/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java Fri
Oct 14 02:53:08 2011
@@ -148,7 +148,7 @@ public class AutomaticWorkQueueTest exte
                 }
             }
 
-            while (workqueue.getActiveCount() < DEFAULT_HIGH_WATER_MARK - 1) {
+            while (workqueue.getActiveCount() < DEFAULT_HIGH_WATER_MARK) {
                 try {
                     Thread.sleep(250);
                 } catch (InterruptedException ex) {



Mime
View raw message