change
This commit is contained in:
parent
5e6028b503
commit
3af45d47d5
|
@ -13,19 +13,19 @@ public class InvalidResultSetPointerTest {
|
||||||
private static final String stbName = "stb";
|
private static final String stbName = "stb";
|
||||||
private static final String tbName = "tb";
|
private static final String tbName = "tb";
|
||||||
private static Connection connection;
|
private static Connection connection;
|
||||||
private static int numOfSTb = 30000;
|
private static int numOfSTb = 300;
|
||||||
private static int numOfTb = 3;
|
private static int numOfTb = 3;
|
||||||
private static int numOfThreads = 10;
|
private static int numOfThreads = 100;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test() throws SQLException {
|
public void test() throws SQLException {
|
||||||
// execute("drop database if exists " + dbName);
|
execute("drop database if exists " + dbName);
|
||||||
// execute("create database if not exists " + dbName);
|
execute("create database if not exists " + dbName);
|
||||||
execute("use " + dbName);
|
execute("use " + dbName);
|
||||||
// execute("drop table if exists " + dbName + "." + stbName + "");
|
execute("drop table if exists " + dbName + "." + stbName + "");
|
||||||
// createSTable();
|
createSTable();
|
||||||
// createTable();
|
createTable();
|
||||||
// insert();
|
insert();
|
||||||
selectMultiThreading();
|
selectMultiThreading();
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
<groupId>com.taosdata.jdbc</groupId>
|
<groupId>com.taosdata.jdbc</groupId>
|
||||||
<artifactId>taos-jdbcdriver</artifactId>
|
<artifactId>taos-jdbcdriver</artifactId>
|
||||||
<version>2.0.18</version>
|
<version>2.0.18</version>
|
||||||
|
<systemPath></systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue