Author: asankha
Date: Mon Nov 24 00:42:51 2008
New Revision: 720134

URL: http://svn.apache.org/viewvc?rev=720134&view=rev
Log:
fix possible hang if concurrency is not reached..

Modified:
    
webservices/commons/trunk/scratch/asankha/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/tests/misc/MinConcurrencyTest.java

Modified: 
webservices/commons/trunk/scratch/asankha/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/tests/misc/MinConcurrencyTest.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/scratch/asankha/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/tests/misc/MinConcurrencyTest.java?rev=720134&r1=720133&r2=720134&view=diff
==============================================================================
--- 
webservices/commons/trunk/scratch/asankha/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/tests/misc/MinConcurrencyTest.java
 (original)
+++ 
webservices/commons/trunk/scratch/asankha/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/tests/misc/MinConcurrencyTest.java
 Mon Nov 24 00:42:51 2008
@@ -144,7 +144,7 @@
             while (concurrencyReached < expectedConcurrency
                 && System.currentTimeMillis() < (startTime + 5000)) {
                 synchronized(concurrencyReachedLock) {
-                    concurrencyReachedLock.wait();
+                    concurrencyReachedLock.wait(5000);
                 }
             }
             


Reply via email to