Skip to content

Commit c422c08

Browse files
committed
Update ConnectionPoolTest.java
1 parent 49d9115 commit c422c08

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/com/xxdb/ConnectionPoolTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ public void test_PartitionedTableAppender_ArrayVector_decimal() throws Exception
13411341
",[INT,DECIMAL32(0)[],DECIMAL32(4)[],DECIMAL64(0)[],DECIMAL64(4)[],DECIMAL64(8)[]])\n" +
13421342
"pt = db.createPartitionedTable(t,`pt,`cint,,`cint)";
13431343
conn.run(script);
1344-
ExclusiveDBConnectionPool pool = new ExclusiveDBConnectionPool(HOST,PORT,"admin","123456",3,false,false);
1344+
ExclusiveDBConnectionPool pool = new ExclusiveDBConnectionPool(HOST,PORT,"admin","123456",3,false,false,null,null,false,false,false);
13451345
PartitionedTableAppender appender = new PartitionedTableAppender("dfs://testArrayVector","pt","cint",pool);
13461346
List<String> colNames = new ArrayList<>();
13471347
colNames.add("cint");
@@ -2294,7 +2294,7 @@ public void test_PartitionedTableAppender_allDataType_array_null() throws Except
22942294
@Test
22952295
public void Test_PartitionedTableAppender_iotAnyVector() throws Exception {
22962296
String script = "if(existsDatabase(\"dfs://testIOT_allDateType\")) dropDatabase(\"dfs://testIOT_allDateType\")\n" +
2297-
" create database \"dfs://testIOT_allDateType\" partitioned by VALUE(1..20),RANGE(2020.01.01 2022.01.01 2025.01.01), engine='IOTDB'\n" +
2297+
" create database \"dfs://testIOT_allDateType\" partitioned by VALUE(1..20),RANGE(2020.01.01 2022.01.01 2038.01.01), engine='IOTDB'\n" +
22982298
" create table \"dfs://testIOT_allDateType\".\"pt\"(\n" +
22992299
" deviceId INT,\n" +
23002300
" timestamp TIMESTAMP,\n" +
@@ -2337,7 +2337,7 @@ public void Test_PartitionedTableAppender_iotAnyVector() throws Exception {
23372337
@Test
23382338
public void Test_PartitionedTableAppender_iotAnyVector_compress_true() throws Exception {
23392339
String script = "if(existsDatabase(\"dfs://testIOT_allDateType\")) dropDatabase(\"dfs://testIOT_allDateType\")\n" +
2340-
" create database \"dfs://testIOT_allDateType\" partitioned by VALUE(1..20),RANGE(2020.01.01 2022.01.01 2025.01.01), engine='IOTDB'\n" +
2340+
" create database \"dfs://testIOT_allDateType\" partitioned by VALUE(1..20),RANGE(2020.01.01 2022.01.01 2038.01.01), engine='IOTDB'\n" +
23412341
" create table \"dfs://testIOT_allDateType\".\"pt\"(\n" +
23422342
" deviceId INT,\n" +
23432343
" timestamp TIMESTAMP,\n" +
@@ -2379,7 +2379,7 @@ public void Test_PartitionedTableAppender_iotAnyVector_compress_true() throws Ex
23792379
@Test
23802380
public void Test_PartitionedTableAppender_iotAnyVector_null() throws Exception {
23812381
String script = "if(existsDatabase(\"dfs://testIOT_allDateType\")) dropDatabase(\"dfs://testIOT_allDateType\")\n" +
2382-
" create database \"dfs://testIOT_allDateType\" partitioned by VALUE(1..20),RANGE(2020.01.01 2022.01.01 2025.01.01), engine='IOTDB'\n" +
2382+
" create database \"dfs://testIOT_allDateType\" partitioned by VALUE(1..20),RANGE(2020.01.01 2022.01.01 2038.01.01), engine='IOTDB'\n" +
23832383
" create table \"dfs://testIOT_allDateType\".\"pt\"(\n" +
23842384
" deviceId INT,\n" +
23852385
" timestamp TIMESTAMP,\n" +
@@ -2434,7 +2434,7 @@ public void Test_PartitionedTableAppender_iotAnyVector_null() throws Exception {
24342434
@Test
24352435
public void Test_PartitionedTableAppender_iotAnyVector_null_compress_true() throws Exception {
24362436
String script = "if(existsDatabase(\"dfs://testIOT_allDateType\")) dropDatabase(\"dfs://testIOT_allDateType\")\n" +
2437-
" create database \"dfs://testIOT_allDateType\" partitioned by VALUE(1..20),RANGE(2020.01.01 2022.01.01 2025.01.01), engine='IOTDB'\n" +
2437+
" create database \"dfs://testIOT_allDateType\" partitioned by VALUE(1..20),RANGE(2020.01.01 2022.01.01 2038.01.01), engine='IOTDB'\n" +
24382438
" create table \"dfs://testIOT_allDateType\".\"pt\"(\n" +
24392439
" deviceId INT,\n" +
24402440
" timestamp TIMESTAMP,\n" +
@@ -2488,7 +2488,7 @@ public void Test_PartitionedTableAppender_iotAnyVector_null_compress_true() thro
24882488
@Test
24892489
public void Test_PartitionedTableAppender_iotAnyVector_big_data() throws Exception {
24902490
String script = "if(existsDatabase(\"dfs://testIOT_allDateType1\")) dropDatabase(\"dfs://testIOT_allDateType1\")\n" +
2491-
" create database \"dfs://testIOT_allDateType1\" partitioned by RANGE(100000*(0..10)),RANGE(2020.01.01 2022.01.01 2025.01.01), engine='IOTDB'\n" +
2491+
" create database \"dfs://testIOT_allDateType1\" partitioned by RANGE(100000*(0..10)),RANGE(2020.01.01 2022.01.01 2038.01.01), engine='IOTDB'\n" +
24922492
" create table \"dfs://testIOT_allDateType1\".\"pt\"(\n" +
24932493
" deviceId INT,\n" +
24942494
" timestamp TIMESTAMP,\n" +

0 commit comments

Comments
 (0)