fixed bug & testcase

This commit is contained in:
wenshao
2012-08-20 13:17:53 +08:00
parent ad17bfc8b2
commit 0e057c6fca
6 changed files with 39 additions and 15 deletions
@@ -183,7 +183,7 @@ public class TestConcurrent extends TestCase {
dataSource.shrink();
Assert.assertEquals(0, dataSource.getActiveCount());
Assert.assertEquals(dataSource.getMinIdle(), dataSource.getPoolingCount());
Assert.assertEquals("minIdle != poolingCount", dataSource.getMinIdle(), dataSource.getPoolingCount());
System.out.println(threadCount + "-threads start");
startLatch.countDown();