Author: markt
Date: Thu Apr 12 20:29:11 2012
New Revision: 1325490
URL: http://svn.apache.org/viewvc?rev=1325490&view=rev
Log:
minIdle needs to be less than maxIdle
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=1325490&r1=1325489&r2=1325490&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
Thu Apr 12 20:29:11 2012
@@ -1034,9 +1034,9 @@ public class TestGenericKeyedObjectPool
// Make constructor arguments all different from defaults
int maxTotalPerKey = 1;
- int maxIdle = 2;
+ int minIdle = 2;
long maxWait = 3;
- int minIdle = 4;
+ int maxIdle = 4;
int maxTotal = 5;
long minEvictableIdleTimeMillis = 6;
int numTestsPerEvictionRun = 7;