add testcase & remove unused code

This commit is contained in:
wenshao
2013-06-17 23:34:35 +08:00
parent b199d3043f
commit 72c9665577
75 changed files with 2415 additions and 1077 deletions
@@ -17,9 +17,10 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.pool.DruidDataSource;
import com.alibaba.druid.stat.DruidDataSourceStatManager;
@@ -46,7 +47,7 @@ public class TestActiveTrace extends TestCase {
}
public void test_activeTrace() throws Exception {
for (int i = 0; i < 1000 * 1000; ++i) {
for (int i = 0; i < 1000 * 10; ++i) {
dataSource.shrink();
Connection conn = dataSource.getConnection();