Author: sebb
Date: Fri Jan 15 16:07:41 2010
New Revision: 899678

URL: http://svn.apache.org/viewvc?rev=899678&view=rev
Log:
Set maxWait for testMaxWaitMultipleThreads() to 500ms

Modified:
    
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
    
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java

Modified: 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
URL: 
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java?rev=899678&r1=899677&r2=899678&view=diff
==============================================================================
--- 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
 (original)
+++ 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
 Fri Jan 15 16:07:41 2010
@@ -1354,7 +1354,7 @@
      * Let's see if the this fails on Continuum too!
      */
     public void testMaxWaitMultiThreaded() throws Exception {
-        final long maxWait = 200; // wait for connection
+        final long maxWait = 500; // wait for connection
         final long holdTime = 2 * maxWait; // how long to hold connection
         final int keyCount = 4; // number of different keys
         final int threadsPerKey = 5; // number of threads to grab the key 
initially

Modified: 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
URL: 
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java?rev=899678&r1=899677&r2=899678&view=diff
==============================================================================
--- 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
 (original)
+++ 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
 Fri Jan 15 16:07:41 2010
@@ -1559,7 +1559,7 @@
      * Let's see if the this fails on Continuum too!
      */
     public void testMaxWaitMultiThreaded() throws Exception {
-        final long maxWait = 200; // wait for connection
+        final long maxWait = 500; // wait for connection
         final long holdTime = 2 * maxWait; // how long to hold connection
         final int threads = 10; // number of threads to grab the object 
initially
         SimpleFactory factory = new SimpleFactory();


Reply via email to