mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
JMX增强
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@688 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -47,7 +47,7 @@ public class Case1 extends TestCase {
|
||||
private String validationQuery = "SELECT 1";
|
||||
private int threadCount = 40;
|
||||
private int loopCount = 4;
|
||||
final int LOOP_COUNT = 1000 * 10;
|
||||
final int LOOP_COUNT = 1000 * 100;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
jdbcUrl = "jdbc:fake:dragoon_v25masterdb";
|
||||
@@ -78,7 +78,7 @@ public class Case1 extends TestCase {
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
public void ftest_1() throws Exception {
|
||||
public void f_test_1() throws Exception {
|
||||
final BasicDataSource dataSource = new BasicDataSource();
|
||||
|
||||
dataSource.setInitialSize(initialSize);
|
||||
@@ -100,7 +100,7 @@ public class Case1 extends TestCase {
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
public void test_2() throws Exception {
|
||||
public void f_test_2() throws Exception {
|
||||
BoneCPDataSource dataSource = new BoneCPDataSource();
|
||||
// dataSource.(10);
|
||||
// dataSource.setMaxActive(50);
|
||||
|
||||
Reference in New Issue
Block a user