cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1182726 - in /cxf/branches/2.4.x-fixes: ./ rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java
Date Thu, 13 Oct 2011 08:54:27 GMT
Author: ningjiang
Date: Thu Oct 13 08:54:26 2011
New Revision: 1182726

URL: http://svn.apache.org/viewvc?rev=1182726&view=rev
Log:
Merged revisions 1182715 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1182715 | ningjiang | 2011-10-13 16:30:26 +0800 (Thu, 13 Oct 2011) | 1 line
  
  Try to fix the AutomaticWorkQueueTest failure in slow box
........

Modified:
    cxf/branches/2.4.x-fixes/   (props changed)
    cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Oct 13 08:54:26 2011
@@ -1 +1 @@
-/cxf/trunk:1179846,1180649,1180653,1181611-1181612,1182637
+/cxf/trunk:1179846,1180649,1180653,1181611-1181612,1182637,1182715

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java?rev=1182726&r1=1182725&r2=1182726&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/workqueue/AutomaticWorkQueueTest.java
Thu Oct 13 08:54:26 2011
@@ -147,14 +147,14 @@ public class AutomaticWorkQueueTest exte
                 }
             }
 
-            while (workqueue.getActiveCount() < 0) {
+            while (workqueue.getActiveCount() < DEFAULT_HIGH_WATER_MARK - 1) {
                 try {
                     Thread.sleep(250);
                 } catch (InterruptedException ex) {
                     // ignore
                 }
             }
-
+            
             for (int i = 0; i < DEFAULT_MAX_QUEUE_SIZE; i++) {
                 fillers[i] = new BlockingWorkItem();
                 try {



Mime
View raw message