From 3af45d47d583380b767d404048e412523e4166d4 Mon Sep 17 00:00:00 2001 From: zyyang Date: Thu, 4 Feb 2021 14:44:26 +0800 Subject: [PATCH] change --- .../jdbc/cases/InvalidResultSetPointerTest.java | 16 ++++++++-------- tests/examples/JDBC/JDBCDemo/pom.xml | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/cases/InvalidResultSetPointerTest.java b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/cases/InvalidResultSetPointerTest.java index 5695755964..1a2eef561c 100644 --- a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/cases/InvalidResultSetPointerTest.java +++ b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/cases/InvalidResultSetPointerTest.java @@ -13,19 +13,19 @@ public class InvalidResultSetPointerTest { private static final String stbName = "stb"; private static final String tbName = "tb"; private static Connection connection; - private static int numOfSTb = 30000; + private static int numOfSTb = 300; private static int numOfTb = 3; - private static int numOfThreads = 10; + private static int numOfThreads = 100; @Test public void test() throws SQLException { -// execute("drop database if exists " + dbName); -// execute("create database if not exists " + dbName); + execute("drop database if exists " + dbName); + execute("create database if not exists " + dbName); execute("use " + dbName); -// execute("drop table if exists " + dbName + "." + stbName + ""); -// createSTable(); -// createTable(); -// insert(); + execute("drop table if exists " + dbName + "." + stbName + ""); + createSTable(); + createTable(); + insert(); selectMultiThreading(); close(); } diff --git a/tests/examples/JDBC/JDBCDemo/pom.xml b/tests/examples/JDBC/JDBCDemo/pom.xml index 61cf50ed4d..3bae3ae2d5 100644 --- a/tests/examples/JDBC/JDBCDemo/pom.xml +++ b/tests/examples/JDBC/JDBCDemo/pom.xml @@ -14,6 +14,7 @@ com.taosdata.jdbc taos-jdbcdriver 2.0.18 + -- GitLab