性能测试

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@372 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-07-11 08:02:02 +00:00
parent 8721ab4f91
commit 2367858c9b
@@ -22,11 +22,11 @@ public class Case3 extends TestCase {
private int maxIdle = 40;
private int maxActive = 50;
private int maxWait = -1;
private String validationQuery = null; //"SELECT 1";
private String validationQuery = "SELECT 1";
private int threadCount = 40;
private int TEST_COUNT = 5;
final int LOOP_COUNT = 1000 * 100;
private boolean testOnBorrow = false;
private boolean testOnBorrow = true;
protected void setUp() throws Exception {
// jdbcUrl = "jdbc:fake:dragoon_v25masterdb";