jmx enhancement & remove notEmpty.signal

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@716 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-10 15:21:26 +00:00
parent 6622072d7f
commit f310409798
4 changed files with 23 additions and 13 deletions
@@ -25,8 +25,8 @@ public class TestIdle3_Concurrent_Starvation extends TestCase {
dataSource.setUrl("jdbc:mock:xxx");
dataSource.setDriver(driver);
dataSource.setInitialSize(1);
dataSource.setMaxActive(14);
dataSource.setMaxIdle(14);
dataSource.setMaxActive(1000);
dataSource.setMaxIdle(1000);
dataSource.setMinIdle(1);
dataSource.setMinEvictableIdleTimeMillis(300 * 1000); // 300 / 10
dataSource.setTimeBetweenEvictionRunsMillis(180 * 1000); // 180 / 10
@@ -62,7 +62,7 @@ public class TestIdle3_Concurrent_Starvation extends TestCase {
}
for (int i = 0; i < 1; ++i) {
final int threadCount = 5;
final int threadCount = 1000;
concurrent(threadCount);
}