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
@@ -18,7 +18,7 @@ public class TestActiveTrace extends TestCase {
dataSource = new DruidDataSource();
dataSource.setRemoveAbandoned(true);
dataSource.setRemoveAbandonedTimeoutMillis(10);
dataSource.setRemoveAbandonedTimeoutMillis(100);
dataSource.setLogAbandoned(true);
dataSource.setTimeBetweenEvictionRunsMillis(10);
dataSource.setMinEvictableIdleTimeMillis(300 * 1000);