Author: markt
Date: Mon Aug 15 10:08:03 2011
New Revision: 1157756

URL: http://svn.apache.org/viewvc?rev=1157756&view=rev
Log:
Increase hold time to fix Continuum failure

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

Modified: 
commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
URL: 
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java?rev=1157756&r1=1157755&r2=1157756&view=diff
==============================================================================
--- 
commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
 (original)
+++ 
commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
 Mon Aug 15 10:08:03 2011
@@ -1206,7 +1206,7 @@ public class TestGenericKeyedObjectPool 
     @Test
     public void testMaxWaitMultiThreaded() throws Exception {
         final long maxWait = 500; // wait for connection
-        final long holdTime = 2 * maxWait; // how long to hold connection
+        final long holdTime = 4 * 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
         SimpleFactory<String> factory = new SimpleFactory<String>();


Reply via email to