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@346 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
+1
-3
@@ -5,8 +5,6 @@ import java.sql.ResultSet;
|
||||
import java.sql.Statement;
|
||||
import java.util.TreeMap;
|
||||
|
||||
import javax.management.openmbean.TabularData;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import com.alibaba.druid.pool.vendor.OracleExceptionSorter;
|
||||
@@ -14,7 +12,7 @@ import com.alibaba.druid.stat.JdbcStatManager;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.serializer.SerializerFeature;
|
||||
|
||||
public class TestOracle extends TestCase {
|
||||
public class TestOracle_DruidDataSource extends TestCase {
|
||||
|
||||
private String jdbcUrl;
|
||||
private String user;
|
||||
@@ -28,7 +28,7 @@ public class Oracle_Case3 extends TestCase {
|
||||
private String validationQuery = "SELECT 1 FROM DUAL";
|
||||
private int threadCount = 14;
|
||||
private int loopCount = 3;
|
||||
final int LOOP_COUNT = 100 * 1;
|
||||
final int LOOP_COUNT = 1000 * 1;
|
||||
private boolean testOnBorrow = true;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user