cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1174502 - /cxf/trunk/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java
Date Fri, 23 Sep 2011 02:27:47 GMT
Author: ningjiang
Date: Fri Sep 23 02:27:47 2011
New Revision: 1174502

URL: http://svn.apache.org/viewvc?rev=1174502&view=rev
Log:
Try to fixed the unit test error on the slower CI box

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=1174502&r1=1174501&r2=1174502&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
Sep 23 02:27:47 2011
@@ -147,7 +147,7 @@ public class AutomaticWorkQueueTest exte
                 }
             }
 
-            while (workqueue.getActiveCount() < INITIAL_SIZE) {
+            while (workqueue.getActiveCount() < 0) {
                 try {
                     Thread.sleep(250);
                 } catch (InterruptedException ex) {



Mime
View raw message