mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@396 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -25,7 +25,7 @@ public class Case3 extends TestCase {
|
||||
private int maxActive = 50;
|
||||
private int maxWait = -1;
|
||||
private String validationQuery = null; // "SELECT 1";
|
||||
private int threadCount = 10;
|
||||
private int threadCount = 40;
|
||||
private int TEST_COUNT = 3;
|
||||
final int LOOP_COUNT = 1000 * 100;
|
||||
private boolean testOnBorrow = false;
|
||||
@@ -33,14 +33,14 @@ public class Case3 extends TestCase {
|
||||
private String sql = "SELECT 1";
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
// jdbcUrl = "jdbc:fake:dragoon_v25masterdb";
|
||||
// user = "dragoon25";
|
||||
// password = "dragoon25";
|
||||
// driverClass = "com.alibaba.druid.mock.MockDriver";
|
||||
jdbcUrl = "jdbc:fake:dragoon_v25masterdb";
|
||||
user = "dragoon25";
|
||||
password = "dragoon25";
|
||||
driverClass = "com.alibaba.druid.mock.MockDriver";
|
||||
|
||||
jdbcUrl = "jdbc:mysql://10.20.153.104:3306/druid2";
|
||||
user = "root";
|
||||
password = "root";
|
||||
// jdbcUrl = "jdbc:mysql://10.20.153.104:3306/druid2";
|
||||
// user = "root";
|
||||
// password = "root";
|
||||
}
|
||||
|
||||
public void test_perf() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user