Commit Graph

3622 Commits

Author SHA1 Message Date
dapan1121 ce7bfcf024 fix case issue 2021-06-01 08:28:45 +08:00
haojun Liao f572be8f63
Merge pull request #6309 from taosdata/feature/query
Feature/query
2021-05-31 22:07:29 +08:00
yihaoDeng 8543ac4e65 [TD-4294]<test case> 2021-05-31 20:48:09 +08:00
tickduan d6dc4f8c27 Merge branch 'master' into cq .INT64_MIN 2021-05-31 19:54:06 +08:00
yihaoDeng f6e0d1926f [TD-4294]<test case> 2021-05-31 18:45:35 +08:00
bryanchang0603 a3c11889bf Merge branch 'develop' into test/TD-4439 2021-05-31 18:39:23 +08:00
Shengliang Guan d19d4a2554
Merge pull request #6308 from taosdata/test/m-TD-4447
[TD-4447]<test>import the same csv twice
2021-05-31 18:35:31 +08:00
yihaoDeng e4a6d251d9 [TD-4294]<test case> 2021-05-31 18:00:14 +08:00
bryanchang0603 a613833b5f [TD-4422]-adding test cases for different combination of drop, child_table_exist, and auto_create_table 2021-05-31 17:13:03 +08:00
haojun Liao dde99cbbff
Merge pull request #6282 from taosdata/feature/td-4243-2
[TD-4243]<enhance>:remove _block_dist() special dedicated column index and reduce memory usage by approximate percentile
2021-05-31 16:31:31 +08:00
haojun Liao 3f1a30a33e
Merge pull request #6275 from taosdata/feature/TD-4400
[TD-4400]apitest for prepare
2021-05-31 16:29:21 +08:00
liuyq-617 23217b7ee6 [TD-4447]<test>import the same csv twice 2021-05-31 08:24:23 +00:00
Haojun Liao 524a132948 [td-255]merge develop. 2021-05-31 15:52:32 +08:00
tickduan d5965c461a must ltime >0 to replace 2021-05-31 15:51:43 +08:00
Haojun Liao c284d848da [td-4446]<fix>: fix repeat import caused crash. 2021-05-31 15:36:48 +08:00
liuyq-617 ed9ff8917c [TD-4447]<test>import the same csv twice 2021-05-31 07:33:08 +00:00
Steven Li cd76a29533 Adjust table locking in crash_gen to expose same-connection consistency issues, supporting TD-4444 2021-05-31 06:22:20 +00:00
dapan1121 0bb4e921c8 support stable 2021-05-31 11:22:50 +08:00
bryanchang0603 39342aec9b [TD-4439] moldifying the test case 2021-05-31 11:16:56 +08:00
bryanchang0603 50d9a1c5a5 [TD-4439] add test case 2021-05-31 11:11:02 +08:00
dapan1121 45b861317c Merge branch 'develop' into feature/TD-4399 2021-05-31 10:27:57 +08:00
huili f3d95d67ae
Merge pull request #6260 from taosdata/xiaoping/test_case
[TD-4122]<test>: add test case
2021-05-31 09:42:11 +08:00
huili a7e1c34895
Merge pull request #6292 from taosdata/xiaoping/add_test_case
[TD-4420]<test>: add test case
2021-05-31 09:42:02 +08:00
dapan1121 ca4289388c add test case 2021-05-31 09:28:19 +08:00
dapan1121 2ce08b2791 Merge branch 'develop' into feature/TD-4400 2021-05-31 08:16:02 +08:00
shenglian zhou c60cf34575 [TD-4243]<fix>:fix coredump when select _block_dist() from table 2021-05-30 10:41:08 +08:00
shenglian zhou 0c7afcc965 [TD-4243]<enhance>:remove _block_dist() special dedicated column index 2021-05-29 23:35:32 +08:00
Ping Xiao 458405cc63 [TD-4423]<test>: add test case 2021-05-29 18:52:56 +08:00
Ping Xiao d43743e678 [TD-4420]<test>: add test case 2021-05-29 16:24:11 +08:00
Ping Xiao 58c6a90134 Merge branches 'xiaoping/test_case' and 'master' of https://github.com/taosdata/TDengine 2021-05-29 15:58:32 +08:00
Haojun Liao be8853ffee [td-4385] merge develop. 2021-05-29 14:46:14 +08:00
haojun Liao 5536e81e52
Merge pull request #6242 from taosdata/feature/query
Feature/query
2021-05-29 14:23:13 +08:00
dapan1121 d6ddc5a807 fix compile error 2021-05-28 19:06:22 +08:00
Ping Xiao 1465fd9cfc Fix test failure 2021-05-28 16:50:43 +08:00
liuyq-617 4d5e99b890 [TD-4415]Add exceptions in valgrind_taos.supp 2021-05-28 08:32:03 +00:00
dapan1121 3a37e5d176 fix bug 2021-05-28 15:21:34 +08:00
Ping Xiao 06e9250c6b Merge branch 'master' into xiaoping/test_case 2021-05-28 14:07:44 +08:00
dapan1121 54f4c61c6a add prepare APIs 2021-05-28 13:47:54 +08:00
Haojun Liao 71319327c2 [td-225] fix bug found by regression test. 2021-05-28 11:37:56 +08:00
bryanchang0603 6bd6001fe9 [TD-4376] modify execute to query for select 2021-05-28 10:43:15 +08:00
bryanchang0603 f8f091b5c7 [TD-4376] adding test case 2021-05-28 10:12:46 +08:00
dapan1121 7b602ab658 fix case issue 2021-05-27 18:36:08 +08:00
dapan1121 5592f1ec0b fix case issue 2021-05-27 18:06:40 +08:00
dapan1121 0dcff322e5 fix bug 2021-05-27 17:51:09 +08:00
Huo Linhe 998680015d
[TD-4370]<fix>: squashed commit of python connector changes in develop (#6246)
commit 0c81e3c0ba89c86f6d17d51d5056146e177cace5
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Fri May 14 10:27:13 2021 +0800

    [TD-4160]<fix>: remove python connector soft links, fix tests and documents

commit f439fce413423e7d7c97eef180c93d63dedab32e
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Wed May 12 18:50:53 2021 +0800

    [TD-182]: bump python connector version to v2.0.10 (#6091)

    Also fix url error in setup.py

commit 4ae55d494a262e482f6b34e8bf193cc6af62a886
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Wed May 12 09:49:26 2021 +0800

    [TD-4370]<fix>: merge python connector changes to master

    Inludes:

    [TD-182]<enhance>: use single repo for python connector (#6036)

    * [TD-182]<enhance>: use single repo for python connector

    Remove code for each platform and build up one single python code base
    for windows/osx/linux platforms and python2/python3 runtime.

    * [TD-182]<enhance>: remove redundant code in python connector

    * [TD-4149] <fix>: fix python connection config error
2021-05-27 17:44:57 +08:00
dapan1121 16378507da support auto create table 2021-05-27 17:01:57 +08:00
Ping Xiao 34d6383a3c [TD-4122]<test>: add test case 2021-05-27 16:13:46 +08:00
dapan1121 57bfff85b4 Merge branch 'feature/TD-4034' into feature/TD-3950 2021-05-27 10:54:37 +08:00
Haojun Liao 315ce829e5 [td-225] merge develop 2021-05-26 19:52:19 +08:00
Haojun Liao 96b0705a6b [td-225]add test cases. 2021-05-26 19:43:51 +08:00
dapan1121 1abd799eba Merge branch 'feature/TD-4034' into feature/TD-3950 2021-05-26 17:50:19 +08:00
liuyq-617 2270703980 modify env 2021-05-26 07:21:07 +00:00
liuyq-617 aaf9081309 modify env 2021-05-26 07:19:53 +00:00
Shengliang Guan 541741cdda Merge from master into develop 2021-05-26 14:33:16 +08:00
Haojun Liao eecd5c9440 [td-225] merge develop 2021-05-26 11:22:20 +08:00
Haojun Liao 2eb18e101c [td-225] add test cases. 2021-05-26 10:05:09 +08:00
Haojun Liao 76b8d1b395 [td-225] add test sim. 2021-05-25 20:11:04 +08:00
haojun Liao 018ae449fe
Merge pull request #6159 from taosdata/fix/query
[td-4231]<enhance>: report error if only tags of the table are retrie…
2021-05-25 20:06:58 +08:00
liuyq-617 0923ccb3ad [TD-4327]jenkins migration 2021-05-24 17:08:37 +08:00
liuyq-617 71c41bdd3b [TD-4327]jenkins migration 2021-05-24 17:03:40 +08:00
Steven Li 20fa37c253 Enhanced crash_gen tool with -k option to produce valgrind result 2021-05-24 06:11:39 +00:00
haojun Liao 5f552855a1
Merge pull request #6196 from taosdata/fix/TD-4279
[TD-4279]<fix>: fix mnode single online as master
2021-05-22 21:14:53 +08:00
Yiqing Liu 091b8e6e56
[TD-4299]Circle CI startup (#6197)
* [TD-4299]Circle CI startup

* test

* test

* revert

* udpate case
2021-05-22 19:54:28 +08:00
Minglei Jin 6c9df9d519 [TD-4279]<fix>: fix mnode single online as master 2021-05-22 18:10:38 +08:00
huili 444753f30a
Merge pull request #6199 from taosdata/xiaoping/test_case
[TD-4263]<test>: update performance test script
2021-05-22 14:53:02 +08:00
huili f33ea803ff
Merge pull request #6187 from taosdata/test/TD-4153
[TD-4153] <test> add case to resolve use taosdemo tools insert and qu…
2021-05-22 14:52:22 +08:00
Ping Xiao 9ef6b68030 [TD-4263]<test>: update performance test script 2021-05-22 13:56:06 +08:00
huili 06373ae464
Merge pull request #6195 from taosdata/hotfix/test
[TD-4182]<test> specify column for single batch bind
2021-05-21 19:54:24 +08:00
root 83187703a8 [TD-4182]<test> specify column for single batch bind 2021-05-21 11:51:33 +00:00
Shengliang Guan 663439bfe6 Merge branch 'develop' into feature/TD-3951 2021-05-21 18:28:12 +08:00
Haojun Liao 4b672b459c [td-225] 2021-05-21 17:31:00 +08:00
Shengliang Guan 50ee6f1091 Merge from master 2021-05-21 14:50:56 +08:00
cpwu 3062b1dabb [TD-4153] <test> add case to resolve use taosdemo tools insert and query operation 2021-05-21 14:37:52 +08:00
dapan1121 2f1c18b6c1 add test case 2021-05-21 14:16:03 +08:00
Shuduo Sang 891886ce56
Hotfix/sangshuduo/td 4136 taosdemo records morethan 32767 for develop (#6175)
* [TD-4136]<fix>: taosdemo records per req more than 32767.

for develop branch.

* change taosRandom() to rand_bool() for bool data.

* [TD-4136]<fix>: taosdemo check insert rows not more than 32767.

check insert rows for progressive.

* fix with answer_yes.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-21 13:11:52 +08:00
Haojun Liao e655a68f69 [td-225]merge develop 2021-05-20 22:13:57 +08:00
Ping Xiao 4b016b75bb [TD-4263]<test>: update performance test script 2021-05-20 19:08:42 +08:00
Haojun Liao 80fc12ea79 [td-4231]<enhance>: report error if only tags of the table are retrieved in the select clause when the filter condition only includes normal columns. 2021-05-18 23:17:53 +08:00
Shuduo Sang 4c1e13b60e
Revert "Hotfix/sangshuduo/td 4240 taosdemo subscribe morethan 100 (#6155)" (#6156)
This reverts commit e8d2162cce.
2021-05-18 21:43:28 +08:00
Shuduo Sang e8d2162cce
Hotfix/sangshuduo/td 4240 taosdemo subscribe morethan 100 (#6155)
* DB/create: fix create database when default quorum > replica

* [TD-4081]<fix>: fix vnode dropping

* test/sim: fix null to 0 in show dnodes;

* [TD-4081]<fix>: [v3] fix vnode closing

* [TD-4081]<fix>: vnode not close if dropped

* Revert "test/sim: fix null to 0 in show dnodes;"

This reverts commit 70213e6526.

* vnode/write: make last write msg to be written or confirmed

* vnode/drop: ingore invalid vgroup id if already dropped

* vnode/read: use app not ready instead of invalid vgroup id to make crash_gen happy

* vnode/close: wait write 900ms

* [td-4209]<fix>: add the uid check for super table metadata that is already cached in local buffer.

* [td-4209]

* [td-225] refactor a sim script.

* Hotfix/sangshuduo/td 4136 taosdemo records morethan 32767 (#6147)

* [TD-4136]<fix>: taosdemo max records per req < 32767

* [TD-4136]<fix>: taosdemo check insert rows not more than 32767.

check insert rows for progressive.

* fix with answer_yes.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-4240]<fix>: taosdemo subscribe more than max query sql count.

Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Minglei Jin <stephenk@gmx.us>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: haojun Liao <hjxilinx@users.noreply.github.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-18 21:34:10 +08:00
Shuduo Sang 6d448dcac1
Hotfix/sangshuduo/td 4136 taosdemo records morethan 32767 (#6147)
* [TD-4136]<fix>: taosdemo max records per req < 32767

* [TD-4136]<fix>: taosdemo check insert rows not more than 32767.

check insert rows for progressive.

* fix with answer_yes.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-18 16:48:17 +08:00
Haojun Liao c824330bb5 [td-225] refactor a sim script. 2021-05-17 15:51:49 +08:00
Shengliang Guan 2ba34f5efd
Merge pull request #6123 from ExplorerBellBox/develop
fix some type errors, and reduce potential errors
2021-05-15 22:12:37 +08:00
Shengliang Guan af7a668b90
Merge pull request #6056 from DavidKorczynski/develop
Initial fuzzing integration
2021-05-15 22:09:42 +08:00
Shengliang Guan d9cfdcd1c5
Merge branch 'develop' into feature/m2d 2021-05-15 19:54:42 +08:00
ZhongChunHe cf93ca70d1 fix declaration shadows previous local/global errors 2021-05-14 11:56:37 +08:00
Huo Linhe 88107acde7 [TD-4160]<fix>: remove python connector soft links, fix tests and documents 2021-05-14 10:27:13 +08:00
Hui Li 1873cc9c5b [TD-4114]<test> add test case for bind batch 2021-05-14 09:59:43 +08:00
Shengliang Guan 984875940a Merge from master into develop 2021-05-14 09:53:57 +08:00
liuyq-617 be6a583034 [TD-4114]<test> add test case for bind batch 2021-05-14 09:47:01 +08:00
liuyq-617 68d9c2417f [TD-4114]<test> add test case for bind batch 2021-05-13 15:39:53 +08:00
haojun Liao 8f8cf26ced
Merge pull request #6098 from taosdata/feature/TD-4135
[TD-4135]support user specify column in bind
2021-05-13 11:39:50 +08:00
haojun Liao e2c9099e63
Merge pull request #6089 from taosdata/fix/query
[td-4147]<fix>: report error if the column name is too long.
2021-05-12 16:58:17 +08:00
dapan1121 46546c9d56 support user specify column 2021-05-12 14:41:59 +08:00
Shengliang Guan 545749c003
Merge pull request #6079 from taosdata/feature/crash_gen2
Data generation script for TD-4133
2021-05-12 14:09:57 +08:00
Haojun Liao 64ae1f9a36 [td-4147]update the test script. 2021-05-12 11:29:00 +08:00
Haojun Liao 6d8f5000ff [td-4147]update the test case. 2021-05-12 11:24:23 +08:00
Shengliang Guan 24473f0cb0 Merge from master into develop 2021-05-12 10:01:50 +08:00
Haojun Liao 854ae073fb [td-4147]<fix>: report error if the column name is too long. 2021-05-11 21:20:44 +08:00
Shengliang Guan 644f41a0bb Merge from master into develop 2021-05-11 20:58:18 +08:00
Shengliang Guan ed903bd9eb
Merge pull request #6074 from taosdata/feature/m2d
Feature/m2d
2021-05-11 20:31:05 +08:00
Shengliang Guan bb7e1b224c
Merge pull request #6080 from taosdata/feature/TD-4038
[TD-4038]support bind  multiple tables
2021-05-11 20:30:40 +08:00
huili 9c0e8c9d78
Merge pull request #6070 from taosdata/test/TD-3960
[TD-3960] <test> add case for TD-3960
2021-05-11 19:32:52 +08:00
Shuduo Sang af33e11840
[TD-4136]<fix>: taosdemo max records per req < 32767 (#6082)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-11 19:06:02 +08:00
dapan1121 eab8e5e8f2
Update makefile 2021-05-11 17:07:35 +08:00
haojun Liao 8a7fc6fc3d
Merge pull request #5986 from taosdata/fix/query
Fix/query
2021-05-11 14:58:59 +08:00
Steven Li 731eadb80d Minor tweak of the new Perf_gen tool 2021-05-11 02:18:05 +00:00
Steven Li ba51543551 Merge remote-tracking branch 'origin/master' into feature/crash_gen2 2021-05-11 01:49:14 +00:00
Steven Li 1d7fd5aec4 Added initial code for the new perf_gen tool 2021-05-11 01:48:58 +00:00
Steven Li 456ea712b3 Refactored crash_gen tool with stronger typing 2021-05-11 01:48:13 +00:00
Shengliang Guan 45a0859a5f Merge from master into develop 2021-05-10 17:42:34 +08:00
wu champion 7570894fbb [TD-3960] <test> add case for TD-3960 2021-05-10 15:30:00 +08:00
dapan1121 b3b0782ce2 fix issue 2021-05-10 11:43:16 +08:00
dapan1121 fa3f970748 fix mem leak 2021-05-10 09:22:10 +08:00
dapan1121 0b91c2cfc6 fix bug 2021-05-09 17:23:10 +08:00
Shengliang Guan c8e7cd1b85
Merge pull request #6050 from taosdata/xiaoping/test_case
[TD-4017]<test>: add test case
2021-05-09 16:46:44 +08:00
Shengliang Guan 8bc97c8c9c
Merge pull request #6026 from taosdata/test/TD-3954
[TD-3954] <test> add case for resolve the bug of TD-3899
2021-05-09 16:45:21 +08:00
dapan1121 b7cec3072b fix 2021-05-09 16:45:02 +08:00
Shengliang Guan 7326764002
Merge pull request #6045 from taosdata/feature/cp
Feature/cp
2021-05-09 13:36:28 +08:00
dapan1121 7db07e73be add test file 2021-05-09 13:30:37 +08:00
davkor 9f3845e97c
tests: add fuzz setup. 2021-05-08 16:30:13 +01:00
Shengliang Guan 0fb150b126 TD-4088 2021-05-08 19:10:26 +08:00
wu champion bd19a926f3 [TD-3921] <test> add case for develop branch 2021-05-08 16:53:55 +08:00
Ping Xiao 70ed9796ff [TD-4017]<test>: add test case 2021-05-08 15:56:18 +08:00
huili e369655424
Merge pull request #6030 from taosdata/xiaoping/add_test_case2
[TD-3663]<test>: add test case for docker cluster
2021-05-08 15:01:14 +08:00
huili 939e5d4110
Merge pull request #6033 from taosdata/xiaoping/test_case
[TD-4019]<test> add test case
2021-05-08 15:01:07 +08:00
huili 9d1c3e22b1
Merge pull request #6043 from taosdata/test/TD-4093
[TD-4093]update python connector every test
2021-05-08 15:00:59 +08:00
wu champion a3720faf9f
Merge pull request #6047 from taosdata/master
Master
2021-05-08 14:03:38 +08:00
wu champion b551731da1 fix the case 2021-05-08 12:39:32 +08:00
wu champion a35c422793 [TD-3921] <fix> fix the case for new python connector 2021-05-08 12:29:54 +08:00
liuyq-617 ede0a50744 [TD-4093]update python connector erver test 2021-05-08 11:43:52 +08:00
liuyq-617 56bea59c3b [TD-4093]update python connector every test 2021-05-08 11:34:21 +08:00
Haojun Liao b6e04604cb [td-3967] 2021-05-07 17:29:00 +08:00
dapan1121 49948f2683 Merge branch 'develop' into feature/TD-4038 2021-05-07 15:08:03 +08:00
dapan1121 6df8ed9f4e support bind multiple tables 2021-05-07 15:06:31 +08:00
Ping Xiao f4afe2f9d8 [TD-4019]<test> add test case 2021-05-07 15:00:40 +08:00
Haojun Liao 9e1a04ee3c [td-225] merge master 2021-05-07 14:58:20 +08:00
tomchon bd0b8df12d [TD-4037]<test>: add taodemo-testcase that childtable_count is less than or equal zero and num_of_records_per_req is equal zero 2021-05-07 14:39:19 +08:00
huili 7c4335e2e7
Merge pull request #6007 from taosdata/test/TD-4059
[TD-4059]update case version.py
2021-05-07 13:57:49 +08:00
Ping Xiao c4a9fda17a [TD-3663]<test>: add test case for docker cluster 2021-05-07 13:28:02 +08:00
wu champion 3259c3de40 [TD-3954] <test> add case for resolve the bug of TD-3899 2021-05-07 10:58:03 +08:00
tomchon 980df53800 [TD-3998]<test>: add taodemo-testcase that inserting too many rows won't make ts disorder 2021-05-06 21:15:20 +08:00
liuyq-617 fa902a35b3 [TD-4059]update case version.py 2021-05-06 11:44:39 +08:00
liuyq-617 5c7842c41b [TD-4059]update case version.py 2021-05-06 11:43:20 +08:00
haojun Liao 714a4d5931
Merge pull request #5987 from taosdata/test/TD-4000
[TD-4000] <test> verify teature of TD-3948
2021-05-01 15:44:54 +08:00
Shuduo Sang b12668ff7f
[TD-3639] <fix>: compare timestamp with datetime in python (#5990)
By this commit, It will close TD-3639.

It will not require test case to write *correct* datetime string to pass
a test case. One test could use seconds, milliseconds or microseconds to
check data.

That means the three tests are equivalent:

```python
.checkData(0, 0, "2020-01-01 00:00:00")
.checkData(0, 0, "2020-01-01 00:00:00.000")
.checkData(0, 0, "2020-01-01 00:00:00.000000")
```

Co-authored-by: Huo Linhe <linhehuo@gmail.com>
2021-04-30 22:45:59 +08:00
Yiqing Liu 8956167651
Eliminate false alarms (#5991) 2021-04-30 21:05:08 +08:00
Haojun Liao b0ab4573bb [td-3967]update the sim. 2021-04-30 17:14:57 +08:00
Haojun Liao d78ac9848c [td-3967]1) refactor. 2021-04-30 17:12:20 +08:00
Haojun Liao 6216f6c519 [td-225] fix bug found by regression test. 2021-04-30 16:38:37 +08:00
wu champion 4a6a4f9e71 [TD-4000] <test> verify teature of TD-3948 2021-04-30 16:23:43 +08:00
Yiqing Liu 460768f067
[TD-4032]Eliminate false alarms (#5978)
* [TD-4032]Eliminate false alarms

* update rules
2021-04-30 14:20:12 +08:00
Shuduo Sang 2670b0ad65
Hotfix/sangshuduo/td 4025 fix travis ci broken for develop (#5975)
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

cherry pick from master.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 10:20:16 +08:00
Shuduo Sang 160516665c
Hotfix/sangshuduo/td 4025 fix travis ci broken (#5973)
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8 and pip, setuptools

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8, and install pip and setuptools

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 09:50:15 +08:00
haojun Liao b77422727c
Merge pull request #5936 from taosdata/dependabot/maven/tests/comparisonTest/cassandra/cassandratest/commons-io-commons-io-2.7
Bump commons-io from 2.4 to 2.7 in /tests/comparisonTest/cassandra/cassandratest
2021-04-29 13:31:20 +08:00
haojun Liao 198645bee0
Merge pull request #5937 from taosdata/dependabot/maven/tests/comparisonTest/opentsdb/opentsdbtest/commons-io-commons-io-2.7
Bump commons-io from 2.4 to 2.7 in /tests/comparisonTest/opentsdb/opentsdbtest
2021-04-29 13:30:57 +08:00
haojun Liao 8f07f0887f
Merge pull request #5953 from taosdata/hotfix/TD-3984
[TD-3984]union issues
2021-04-29 13:27:03 +08:00
haojun Liao 9c01cec7e0
Merge pull request #5955 from taosdata/hotfix/TD-3996
[TD-3996]udc query issue
2021-04-29 13:20:16 +08:00
Steven Li 7e1b1b1f9b Merge remote-tracking branch 'origin/master' into feature/crash_gen2 2021-04-28 23:11:28 +00:00
Steven Li 34eb7e255a Used Python generator to simplify crash_gen IPC processing of STDOUT/STDERR 2021-04-28 23:11:19 +00:00
huili 0a6b76e3e7
Merge pull request #5938 from taosdata/test/TD-2039
[TD-2039] <test> verify the bug of TD-2039
2021-04-28 16:43:31 +08:00
Haojun Liao ac9ae238ab [td-225]fix the bug found by regression test. 2021-04-28 16:41:19 +08:00
Steven Li fbadcfb542 Merge remote-tracking branch 'origin/master' into feature/crash_gen2 2021-04-28 08:37:22 +00:00
Steven Li 5d1d5cadc2 Refactored crash_gen to have the TdeSubProcess own the SvcMgrThread object, also switched to Pylance 2021-04-28 08:36:56 +00:00
dapan1121 b13e65bd93 fix bug 2021-04-28 14:27:15 +08:00
shenglian zhou 5f2f20cf1a [TD-3948]<enhance>: insert syntax - specify columns after supertable tags 2021-04-28 11:16:36 +08:00
dapan1121 6e985b443c fix bug 2021-04-28 10:53:10 +08:00
Steven Li 8a6fd8df16 Refactoring service_manager in crash_gen to use stronger types 2021-04-28 02:42:27 +00:00
haojun Liao 489b24a18a
Merge branch 'develop' into feature/query 2021-04-27 22:39:05 +08:00
Haojun Liao 9286f77e07 [td-225]merge develop 2021-04-27 22:17:09 +08:00
Haojun Liao e40c1ffca5 [td-225]fix bug found by regression test. 2021-04-27 18:40:40 +08:00
Huo Linhe aa88942c38
[TD-3639] <fix>: compare timestamp with datetime in python (#5940)
By this commit, It will close TD-3639.

It will not require test case to write *correct* datetime string to pass
a test case. One test could use seconds, milliseconds or microseconds to
check data.

That means the three tests are equivalent:

```python
.checkData(0, 0, "2020-01-01 00:00:00")
.checkData(0, 0, "2020-01-01 00:00:00.000")
.checkData(0, 0, "2020-01-01 00:00:00.000000")
```
2021-04-27 13:45:08 +08:00
wu champion ae1b233db3 [TD-2039] <test> verify the bug of TD-2039 2021-04-27 09:30:40 +08:00
huili 19c185c8cb
Merge branch 'master' into test/TD-3921 2021-04-27 09:13:38 +08:00
dependabot[bot] 9874bb5f71
Bump commons-io in /tests/comparisonTest/opentsdb/opentsdbtest
Bumps commons-io from 2.4 to 2.7.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 19:27:50 +00:00
dependabot[bot] 0fd3d482c5
Bump commons-io in /tests/comparisonTest/cassandra/cassandratest
Bumps commons-io from 2.4 to 2.7.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 19:26:05 +00:00
Shuduo Sang 37fd1ad91c
Hotfix/sangshuduo/td 3968 taosdemo datalen 16k (#5930)
* [TD-3414]<test>: add insert function with json files of taodemo-testcase -repeat

* [TD-3879]add stmt mode for taodemo go

* [TD-3414]<test>: add insert function with json files of taodemo-testcase

* [TD-3918] <test>  add case to verify the bug of TD-3897

* [TD-3453]<test>:modify filepath  in scripts

* Update fulltest.sh

* [TD-3918] <test> fix the case

* Update queryFilterTswithDateUnit.py

* [TD-3850]<fix>: fix vnode write enqueue flowctrl UAF & no response

* Hotfix/sangshuduo/td 3401 query statistic (#5907)

* [TD-3401]<fix>: taosdemo query statistic.

refactor func name.

* [TD-3401]<fix>: taosdemo query statistic.

refactor func name 2.

* [TD-3401]<fix>: taosdemo support query statistic.

implementation.

* cleanup

* [TD-3401]<fix>: taosdemo query statistic.

change us to ms.

* [TD-3401]<fix>: taosdemo query statistic.

increase sql buffer for query.

* [TD-3401]<fix>: taosdemo query statistic

more accurate result.

* [TD-3401]<fix>: taosdemo query statistic.

modify last time logic.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* improve coverage of operations

* [TD-3944]<fix>: make default offline threshold to 10 days. (#5912)

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-3572]<enhance>: response out of dnodes if #dnodes <= maxDbReplica

* [TD-3937]<test>: add taosdemo performance test compare scripts

* update script

* Hotfix/sangshuduo/td 3317 for master (#5921)

* [TD-3317]<fix>: taosdemo interlace insertion.

patch for master.

* [TD-3317]<fix>: taosdemo support interlace mode.

adjust remainder rows logic.

* [TD-3317]<fix>: taosdemo support interlace mode.

fix global and stable interlace rows logic.

* [TD-3317]<fix>: taosdemo support interlace mode.

fix 'interlaceRows' is used uninitialized

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-3968]<fix>: taosdemo data length should be 16*1024

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: liuyq-617 <yqliu@taosdata.com>
Co-authored-by: wu champion <wuchampion@foxmail.com>
Co-authored-by: wu champion <cpwu@taosdata.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Ping Xiao <pxiao@taosdata.com>
2021-04-26 18:48:52 +08:00
Haojun Liao 35f074927f [td-225]fix the bug found by crash_gen 2021-04-26 17:01:36 +08:00
wu champion 9b7aeff602 [TD-3921] <test> add case to resolv show streams return erro msg 2021-04-26 15:34:00 +08:00
wu champion a10fa31267 [TD-3920] <test> add case to fix the bug of TD-3920 2021-04-26 14:19:06 +08:00
huili ec7b4f22c9
Merge pull request #5911 from taosdata/fix/jenkins
improve coverage of operations
2021-04-26 10:54:28 +08:00
huili 4136d66f80
Merge pull request #5919 from taosdata/xiaoping/add_test_case
[TD-3937]<test>: add taosdemo performance test compare scripts
2021-04-26 10:54:05 +08:00
Ping Xiao 4415eb2114 update script 2021-04-26 09:33:56 +08:00
Ping Xiao 97c983bb5a [TD-3937]<test>: add taosdemo performance test compare scripts 2021-04-25 19:01:02 +08:00
Minglei Jin f52cf50c5c [TD-3572]<enhance>: response out of dnodes if #dnodes <= maxDbReplica 2021-04-25 18:18:06 +08:00
Haojun Liao 2df82f06a1 [td-225]merge develop. 2021-04-25 18:13:38 +08:00
liuyq-617 07cded1fad improve coverage of operations 2021-04-25 15:16:39 +08:00
Haojun Liao 400e64aa50 [td-225]update script 2021-04-25 15:03:00 +08:00
huili 38e57820ea
Merge pull request #5896 from taosdata/test/TD-3918
[TD-3918] <test>  add case to verify the bug of TD-3897
2021-04-25 11:40:44 +08:00
Haojun Liao 487b523d1f [td-225] merge from master 2021-04-25 11:11:36 +08:00
Haojun Liao 7bc4a2ef42 [td-225]fix memory leak 2021-04-25 11:04:46 +08:00
Haojun Liao 4f6d3b568e [td-225] fix memory leaks. 2021-04-23 23:17:04 +08:00
haojun Liao 9f70bace9b
Merge branch 'develop' into feature/qrefactor 2021-04-23 18:10:49 +08:00
Haojun Liao b110dbf647 [td-225] fix bug found by regression test. 2021-04-23 18:01:36 +08:00
Haojun Liao d48ba50217 [td-225] fix bug found by regression test. 2021-04-23 17:55:52 +08:00
wu champion ffc88d5f20
Update queryFilterTswithDateUnit.py 2021-04-23 16:54:47 +08:00
wu champion d3f655f881 [TD-3918] <test> fix the bug 2021-04-23 16:50:52 +08:00
wu champion ec63c9fd64 [TD-3918] <test> fix the case 2021-04-23 16:49:06 +08:00
tomchon 4573d7f6ea Merge branch 'master' into test/chr 2021-04-23 11:33:23 +08:00
wu champion bbaf30ed91
Update fulltest.sh 2021-04-23 11:28:28 +08:00
tomchon 46905c402a [TD-3453]<test>:modify filepath in scripts 2021-04-23 11:25:08 +08:00
wu champion 512551b1c9
Merge branch 'master' into test/TD-3918 2021-04-23 11:23:43 +08:00
huili 61d373e206
Merge pull request #5874 from taosdata/test/TD-3891
[TD-3891] <test> fix the bug of TD-3891
2021-04-23 11:20:07 +08:00
huili a0f592b1ca
Merge pull request #5895 from taosdata/test/TD-3917
[TD-3917] <test> add case to fix the bug of TD-3907
2021-04-23 11:19:55 +08:00
huili 6640c545ea
Merge pull request #5865 from taosdata/test/unsigned_tag_case
add test case for unsigned tag
2021-04-23 11:18:58 +08:00
huili c9c2d0e02c
Merge pull request #5891 from taosdata/test/go_taosdemo
[TD-3879]add stmt mode for taodemo go
2021-04-23 11:18:21 +08:00
huili 8f53fcbe57
Merge pull request #5893 from taosdata/xiaoping/add_test_case
enable apitest and add sleep time
2021-04-23 11:17:44 +08:00
wu champion 369c9a76f0 [TD-3918] <test> add case to verify the bug of TD-3897 2021-04-23 10:45:22 +08:00
wu champion 7e7cc2e345 [TD-3917] <test> add case for the bug of TD-3907 2021-04-23 10:31:20 +08:00
haojun Liao fdd7358f32
Merge pull request #5877 from taosdata/hotfix/TD-3897
[TD-3897]timestamp not work with now filter
2021-04-23 10:19:04 +08:00
haojun Liao aa65f33cbe
Merge pull request #5853 from taosdata/hotfix/TD-3805
[TD-3805]CQ time issue
2021-04-23 10:15:07 +08:00
zyyang 490b34c5d9
Hotfix/td 3841 (#5892)
* [TD-3841]<fix>: getFloat methed get 0 when data value is null

* change jdbc driver version number

* change

* [TD-3841]<test>: test Mybatis query null value

* change
2021-04-23 09:56:40 +08:00
Ping Xiao 56dc7b73fc enable apitest and add sleep time 2021-04-22 18:55:14 +08:00
Shuduo Sang 56969c41e7
[TD-3906]<fix>: taosdemo back to 4 INT columns. (#5883)
* [TD-3906]<fix>: taosdemo back to 4 INT columns.

* [TD-3906]<fix>: taosdemo back to 4 columns.

test case need change correspondingly.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-22 18:35:14 +08:00
liuyq-617 f8cc5d8bd1 [TD-3879]add stmt mode for taodemo go 2021-04-22 18:13:09 +08:00
Ping Xiao eb318dcd32 disable failed test 2021-04-22 17:45:44 +08:00
dapan1121 d4c024d779 fix bug 2021-04-22 16:47:46 +08:00
tomchon 7eba44be08 [TD-3414]<test>: add insert function with json files of taodemo-testcase 2021-04-22 13:54:23 +08:00
Haojun Liao 401fc20df0 [td-225] merge develop 2021-04-22 11:25:20 +08:00
dapan1121 2bfc6a90a5 fix bug 2021-04-22 09:50:44 +08:00
tomchon c21292c7a6 [TD-3414]<test>: add insert function with json files of taodemo-testcase -repeat 2021-04-21 20:04:03 +08:00
dapan1121 23f23a445d modify case 2021-04-21 19:36:46 +08:00
haojun Liao 31529614d5
Merge pull request #5855 from taosdata/feature/qrefactor
Feature/qrefactor
2021-04-21 18:25:12 +08:00
Haojun Liao d37fad65dd Merge branch 'master' into feature/qrefactor 2021-04-21 18:13:08 +08:00
Haojun Liao 781a035433 [td-2859]add test cases. 2021-04-21 18:09:42 +08:00
Haojun Liao 1ed54bc597 [td-2859]add test cases. 2021-04-21 17:34:42 +08:00
Shuduo Sang e663bc6f00
Hotfix/sangshuduo/td 3880 csharp driver unsigned miss (#5872)
* [TD-3880]<fix>: C# driver test miss unsigned type.

* [TD-3880]<fix>: C# driver test miss unsigned type.

also modify other files as what  TD-3204 did.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-21 16:15:40 +08:00
Shuduo Sang 41a58388f5
[TD-3880]<fix>: C# driver test miss unsigned type. (#5871)
for develop branch.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-21 15:37:39 +08:00
wu champion 6038a4791e [TD-3891] <test> fix the bug: not 1st timestamp column,when insert data < 0,data process error 2021-04-21 14:56:38 +08:00
huili 91da3ab9f6
Merge pull request #5861 from taosdata/test/TD-3856
[TD-3856]<test> add case for TD-3856
2021-04-21 11:17:09 +08:00
huili c1f0dfbbc6
Merge pull request #5869 from taosdata/test/TD-3789
[TD-3789]<test> add case for TD-3789, and fix util.sql
2021-04-21 11:16:41 +08:00
wu champion 5745b2d011
Update fulltest.sh 2021-04-21 10:01:56 +08:00
Shuduo Sang 808019af4d
Hotfix/sangshuduo/td 3877 c sharp query result (#5866)
* [TD-3877]<fix>: C# query result determination mechanism changed.

* [TD-3877]<fix>: C# query result determination mechanism changed.

change taosdemo and C#checker.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-21 09:51:09 +08:00
wu champion 6c81812eec [TD-3789]<test> add case for TD-3789, and fix util.sql 2021-04-20 19:00:12 +08:00
liuyq-617 b5194e4cf3 add test case for unsigned tag 2021-04-20 17:40:43 +08:00
wu champion 624b018066 [TD-3856]<test> add case for TD-3856 2021-04-20 16:15:19 +08:00
dapan1121 acee0af58f fix case issue 2021-04-20 11:24:42 +08:00
Haojun Liao e1442f9619 [td-225]add test cases. 2021-04-19 18:00:32 +08:00
Haojun Liao cc4c5d26aa Merge branch 'master' into feature/qrefactor 2021-04-19 17:05:03 +08:00
dapan1121 3976e1d072 add test case 2021-04-19 14:59:39 +08:00
Ping Xiao d1ba0f58ef [TD-3800]<test>: add test case for query last(*) 2021-04-19 13:54:40 +08:00
Haojun Liao e5d17c95fa [td-2859] 2021-04-17 14:56:30 +08:00
Haojun Liao bc39673ca6 [td-225] refactor code. 2021-04-16 14:48:41 +08:00
Shengliang Guan db8deb4472
Merge pull request #5831 from taosdata/master
Merge master into develop
2021-04-16 11:02:27 +08:00
Ping Xiao ab54c5d3a1 Run performance test on master branch 2021-04-15 15:58:48 +08:00
wu champion db0f06afb2 [TD-3587]<test> add case for TD-3587 to CI 2021-04-15 11:40:37 +08:00
Huo Linhe 80a87159ff
[TD-2976]<fix>: check 1970 timestamp support in C# taosdemo (#5813) 2021-04-15 10:56:48 +08:00
Shengliang Guan 9f5301a318
Merge pull request #5806 from taosdata/enhance/TD-3079
[TD-3079]<enhance>: use multi-level storage with vnode's wal files
2021-04-15 09:31:11 +08:00
Huo Linhe 8713f96d2f
[TD-3204]<fix>: support usigned integer types for C# connector (#5808)
Added unsigned integer types and change taosdemo insert and select queries for these types.

taos define | taos sql | c#
--- | --- | ---
UTINYINT | TINYINT UNSIGNED | `byte`
USMALLINT | SMALLINT UNSIGNED | `ushort`
UINT | INT UNSIGNED | `uint`
UBIGINT | BIGINT UNSIGNED | `ulong`
TINYINT | TINYINT | `sbyte`

Note: also change the tinyint value type to C# `sbyte`(the right signed one byte type) in this pr.
2021-04-14 17:39:56 +08:00
Ping Xiao e3ac8a0523 [TD-2986]<test>: add demo example into CI 2021-04-14 11:04:30 +08:00
Shuduo Sang 640062a53d
Hotfix/sangshuduo/td 3401 query statistic (#5795)
* [TD-3401]<fix>: taosdemo query statistic.

refactor func name.

* [TD-3401]<fix>: taosdemo query statistic.

refactor func name 2.

* [TD-3401]<fix>: taosdemo support query statistic.

implementation.

* cleanup

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-13 16:24:42 +08:00
Steven Li b6ee0c8fc7 Moved over changes from feature/crash_gen to feature/crash_gen_master 2021-04-13 05:49:22 +00:00
Shuduo Sang 4876811b9d
Hotfix/sangshuduo/td 3683 taosdemo lots tables (#5783)
* [TD-3683]<fix>: reduce buffer size for more stable table creation.

* [TD-3683]<fix>: taosdemo create lots of tables.

clean up.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-12 18:12:21 +08:00
liuyq-617 72ab7e8abc [TD-3751]update Jenkins mail notification 2021-04-12 11:37:48 +08:00
Shengliang Guan 60e6729d7a
Merge pull request #5759 from taosdata/master
Merge from master into develop
2021-04-12 09:08:33 +08:00
Shuduo Sang 7153904339
[TD-3317]<fix>: taosdemo interlace insertion. (#5774)
patch for master.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-11 21:31:47 +08:00
Shuduo Sang 76db6804e4
Feature/sangshuduo/td 3317 taosdemo interlace (#5773)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3317] <feature>: support interlace mode insertion.

add time shift for no sleep time.

* [TD-3317] <feature>: support interlace insert.

rework timestamp.

* [TD-3317] <feature>: support interlace mode insertion.

change rows_per_tbl to interlace_rows.

* [TD-3317] <feature>: taosdemo suppoert interlace mode.

remove trailing spaces.

* [TD-3317] <feature>: taosdemo support interlace insertion.

prompt if interlace > num_of_records_per_req

* fill insert-into early to buffer.

* fix buffer overflow issue.

* change rows_per_tbl to interlace_rows to align with taosdemo.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-11 20:44:12 +08:00
Shuduo Sang 0913d4553e
[TD-3741]<fix>: python test case on arm32. (#5767)
* [TD-3741]<fix>: python test case on arm32.

select * with lots data lead timeout.

* [TD-3741]<fix>: python test case on arm32.

change importDataLastS.py select * to count.
2021-04-11 09:55:20 +08:00
haojun Liao d6ec9c6700
Merge branch 'develop' into master 2021-04-10 23:52:50 +08:00
Shuduo Sang cdbb75609f
Feature/sangshuduo/td 3735 make test framework work on mac (#5761) (#5763)
* [TD-3735]<feature>: make test framework work on mac

* [TD-3735]<feature>: make test framework work on mac

change cut fields to -f for mac compatibility.
2021-04-10 13:40:27 +08:00
huili 7057c90602
Merge pull request #5756 from taosdata/fix/jenkins
[TD-3727]Suppressing errors in valgrind
2021-04-10 13:16:32 +08:00
huili 0a887ff339
Merge pull request #5755 from taosdata/test/jenkins
[TD-3727]Suppressing errors in valgrind
2021-04-10 13:16:25 +08:00
Shuduo Sang bbda420d2b
Feature/sangshuduo/td 3735 make test framework work on mac (#5761)
* [TD-3735]<feature>: make test framework work on mac

* [TD-3735]<feature>: make test framework work on mac

change cut fields to -f for mac compatibility.
2021-04-10 12:22:18 +08:00
liuyq-617 f4a0c1d97f [TD-3727]Suppressing errors in valgrind 2021-04-09 18:39:16 +08:00
liuyq-617 0cac7f96d0 [TD-3727]Suppressing errors in valgrind 2021-04-09 18:37:40 +08:00
Ping Xiao 2b527c3348 Merge branch 'master' into xiaoping/add_test_case 2021-04-09 15:57:52 +08:00
robotspace d8d85667cb
Resolve problems that is met in CentOS7. (#5738)
* Set value for std with c99 to avoid compile error on CentOS7.

* Get parameter from stack by same sequence.

* Add performance test.
2021-04-09 13:05:51 +08:00
dapan1121 3da3b0de53 asyncdemo crash issue 2021-04-09 11:05:33 +08:00
Shuduo Sang 20a32bedb2
Hotfix/sangshuduo/td 3636 for master (#5735)
* [TD-3652]<test> add case for TD-3652 to resolve TD-3590

* Update fulltest.sh

* [TD-3295]<test> add case for TD-3295

* TD-3675

* Hotfix/sangshuduo/td 3607 for master (#5712)

* test

* [TD-3677]<test>: test pr message 1

* [TD-3671]<test>change target branch

* [TD-3677]<test>: test pr message 2

* [TD-3677]<test>: test pr message 3

* Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5688)

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix coverity scan issues.

check super tbl info pointer.

* [TD-3197] <fix>: fix coverity scan issues.

move sub tbl query thread join into loop

* [TD-3197] <fix>: fix coverity scan issues.

remove unused variable

* [TD-3197] <fix>: fix coverity scan issues.

use more secure random library

* [TD-3197] <fix>: fix coverity scan issues.

use strncpy for more safe

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

replace arc4random with rand().

* [TD-3197] <fix>: fix coverity scan issues.

check stb info pointer for start time

* [TD-3197] <fix>: fix coverity scan issues.

fix strcpy vulnerability

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

modify taosdemoTest2. try to check database continously.

* [TD-3197] <fix>: taosdemo coverity scan issues.

* [TD-3197] <fix>: fix memory leak when parsing arguments.

* [TD-3197] <fix>: fix cmake strip arguments.

* [TD-3197] <fix>: taosdemo coverity scan.

fix cmake string manipulation.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* remove useless file

* fix changing target branch

* fix

* fix

* [TD-3607]<fix>: fix taosdemo limit and offset.

if offset+limit > count.

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: liuyq-617 <yqliu@taosdata.com>
Co-authored-by: plum-lihui <huili@taosdata.com>
Co-authored-by: Elias Soong <elias.soong@gmail.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* fix mem leak issue

* fix crash issue

* [TD-3683]<fix>: reduce buffer size for more stable table creation. (#5720)

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5723)

* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* test

* [TD-3677]<test>: test pr message 1

* [TD-3671]<test>change target branch

* [TD-3677]<test>: test pr message 2

* [TD-3677]<test>: test pr message 3

* Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5688)

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix coverity scan issues.

check super tbl info pointer.

* [TD-3197] <fix>: fix coverity scan issues.

move sub tbl query thread join into loop

* [TD-3197] <fix>: fix coverity scan issues.

remove unused variable

* [TD-3197] <fix>: fix coverity scan issues.

use more secure random library

* [TD-3197] <fix>: fix coverity scan issues.

use strncpy for more safe

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

replace arc4random with rand().

* [TD-3197] <fix>: fix coverity scan issues.

check stb info pointer for start time

* [TD-3197] <fix>: fix coverity scan issues.

fix strcpy vulnerability

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

modify taosdemoTest2. try to check database continously.

* [TD-3197] <fix>: taosdemo coverity scan issues.

* [TD-3197] <fix>: fix memory leak when parsing arguments.

* [TD-3197] <fix>: fix cmake strip arguments.

* [TD-3197] <fix>: taosdemo coverity scan.

fix cmake string manipulation.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* remove useless file

* fix changing target branch

* fix

* fix

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

* Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5706)

* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

* Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5713)

* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* fix taosdemo limit invalid warning condition.

* [TD-3683]<fix>: reduce buffer size for more stable table creation. (#5719)

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: liuyq-617 <yqliu@taosdata.com>
Co-authored-by: plum-lihui <huili@taosdata.com>
Co-authored-by: Elias Soong <elias.soong@gmail.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>

* TD-3707

* Feature/sangshuduo/td 3408 taosdemo async query (#5731)

* test

* [TD-3677]<test>: test pr message 1

* [TD-3671]<test>change target branch

* [TD-3677]<test>: test pr message 2

* [TD-3677]<test>: test pr message 3

* Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5688)

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix coverity scan issues.

check super tbl info pointer.

* [TD-3197] <fix>: fix coverity scan issues.

move sub tbl query thread join into loop

* [TD-3197] <fix>: fix coverity scan issues.

remove unused variable

* [TD-3197] <fix>: fix coverity scan issues.

use more secure random library

* [TD-3197] <fix>: fix coverity scan issues.

use strncpy for more safe

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

replace arc4random with rand().

* [TD-3197] <fix>: fix coverity scan issues.

check stb info pointer for start time

* [TD-3197] <fix>: fix coverity scan issues.

fix strcpy vulnerability

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

modify taosdemoTest2. try to check database continously.

* [TD-3197] <fix>: taosdemo coverity scan issues.

* [TD-3197] <fix>: fix memory leak when parsing arguments.

* [TD-3197] <fix>: fix cmake strip arguments.

* [TD-3197] <fix>: taosdemo coverity scan.

fix cmake string manipulation.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* remove useless file

* fix changing target branch

* fix

* fix

* Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5706)

* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5713)

* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-3683]<fix>: reduce buffer size for more stable table creation. (#5719)

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-3408]<feature>: taosdemo support async query.

* [TD-3408]<feature>: taosdemo support async query.

refactor

* [TD-3408]<feature>: taosdemo support async query.

refactor 2

* [TD-3408]<feature>: taosdemo support async query.

refactor 3

* [TD-3408]<feature>: taosdemo support async query.

refactor 4

* [TD-3408]<feature>: taosdemo support specified sql more than one line.

Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: liuyq-617 <yqliu@taosdata.com>
Co-authored-by: plum-lihui <huili@taosdata.com>
Co-authored-by: Elias Soong <elias.soong@gmail.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>

* [TD-3636]<fix>: fix taosdemo outorder range algorithm.

patch for master.

Co-authored-by: wu champion <wuchampion@foxmail.com>
Co-authored-by: wu champion <wu_champion@foxmail.com>
Co-authored-by: dapan1121 <89396746@qq.com>
Co-authored-by: wu champion <cpwu@taosdata.com>
Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: liuyq-617 <yqliu@taosdata.com>
Co-authored-by: plum-lihui <huili@taosdata.com>
Co-authored-by: Elias Soong <elias.soong@gmail.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: haojun Liao <hjxilinx@users.noreply.github.com>
2021-04-09 09:03:24 +08:00
Ping Xiao 0e72f1cb6d [###################################################################] 2021-04-08 19:04:05 +08:00
Ping Xiao c7c8ab0082 Merge branch 'master' into xiaoping/add_test_case 2021-04-08 19:00:59 +08:00
haojun Liao 910b78f290
Merge pull request #5658 from taosdata/feature/TD-2577
[TD-2577]support having
2021-04-08 16:16:31 +08:00
dapan1121 f81b77209b TD-3707 2021-04-08 15:26:20 +08:00
huili 0e246a7f19
Merge branch 'master' into test/TD-3295 2021-04-08 11:12:43 +08:00
Ping Xiao ba3fbea58c [TD-3676]<test>: add test case 2021-04-07 16:21:38 +08:00
wu champion 8a8eaf5053
Merge pull request #5705 from taosdata/master
Master
2021-04-07 10:18:15 +08:00
wu champion 91a60312f0 Merge branch 'master' into test/TD-3295 2021-04-07 10:06:44 +08:00
huili 05fca963b5
Merge pull request #5692 from taosdata/test/TD-3654
[TD-3654]<test>add case for TD-3654 to master
2021-04-06 18:38:41 +08:00
wu champion 7db5c29d1e [TD-3295]<test> add case for TD-3295 2021-04-06 18:18:10 +08:00
wu champion 9f858447f7
Update fulltest.sh 2021-04-06 18:09:13 +08:00
wu champion 41b9b98e3c [TD-3652]<test> add case for TD-3652 to resolve TD-3590 2021-04-06 18:06:59 +08:00
huili a85b9911c3
Merge pull request #5695 from taosdata/test/testcase
[TD-3671]<test>change target branch
2021-04-06 17:05:21 +08:00
liuyq-617 331901bfb9 test 2021-04-06 15:50:33 +08:00
liuyq-617 20ef6c39a1 test 2021-04-06 15:49:22 +08:00
huili ec74d6c0a8
Merge pull request #5682 from taosdata/test/jenkins
[TD-3569]<test>add taosd mem leak test into CI
2021-04-06 15:34:15 +08:00
wu champion 29bb17877d add case for TD-3654 2021-04-06 11:33:24 +08:00
Haojun Liao 13dc5b6965 [td-225]update sim. 2021-04-06 10:53:04 +08:00
liuyq-617 7cd0648bb6 [TD-3569]<test>add taosd mem leak test into CI 2021-04-06 10:26:06 +08:00
haojun Liao 4f6fa025d3
Merge pull request #5678 from taosdata/feature/qrefactor
Feature/qrefactor
2021-04-05 14:18:17 +08:00
Haojun Liao 36cd4550a3 [td-3664]update sim. 2021-04-04 23:41:51 +08:00
Haojun Liao fee4bde52a [td-3350]<fix>: Remove the illegal abort operation in case of multithread environment for sim. 2021-04-04 22:14:38 +08:00
haojun Liao 09297fba5d
Merge pull request #5675 from taosdata/feature/qrefactor
[td-3662] <fix>: fix invalid write caused by top/bottom query.
2021-04-04 17:52:03 +08:00
Haojun Liao ecfe8ecabb [td-3662] 2021-04-04 15:33:18 +08:00
Haojun Liao 00c1a59abb [td-3662] 2021-04-04 11:18:28 +08:00
Haojun Liao 859054fd48 [td-3662]fix bug found by regression test. 2021-04-04 11:16:50 +08:00
Haojun Liao 3fda7a8647 [td-3662]fix bug found by regression test. 2021-04-04 11:16:15 +08:00
haojun Liao 15da33e028
Merge pull request #5660 from taosdata/feature/qrefactor
Feature/qrefactor
2021-04-03 23:52:51 +08:00
Ping Xiao 58eac46929 Merge branch 'develop' into xiaoping/add_test_case 2021-04-03 22:22:24 +08:00
Shuduo Sang e1739b86a9
Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5659)
* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-02 19:22:04 +08:00
Haojun Liao 0146d60cbb [td-225] merge develop 2021-04-02 16:40:44 +08:00
Ping Xiao 8904a1644f remove failed case 2021-04-02 15:25:29 +08:00
Ping Xiao 1dd928dd63 Merge branch 'develop' into xiaoping/add_test_case 2021-04-02 15:23:30 +08:00
Haojun Liao 49b78ead9e [td-225]update the sim. 2021-04-02 14:37:01 +08:00
Haojun Liao 878d59d990 [td-225]update the sim. 2021-04-02 14:28:22 +08:00
Haojun Liao 1f4c2cf526 [td-225]refactor. 2021-04-02 11:18:36 +08:00
张金富 0bc3fddad0
去掉多余的括号和分号 (#5656)
* Update taosdemo.go

去掉多用的括号和分号
格式化代码

* Update taosdemo.go

地址改回127.0.0.1
2021-04-02 10:48:44 +08:00
Ping Xiao bc18d38c98 Merge branch 'develop' into xiaoping/add_test_case 2021-04-02 10:01:55 +08:00
dapan1121 219bc838e5 Merge branch 'develop' into feature/TD-2577 2021-04-02 09:36:36 +08:00
haojun Liao dfd365f02d
Merge pull request #5643 from taosdata/feature/qrefactor
[td-225]fix a invalid read.
2021-04-01 22:34:08 +08:00
dapan1121 80e0d0eff1 Merge branch 'develop' into feature/TD-2577 2021-04-01 16:51:01 +08:00
dapan1121 71badf8c85 fix filter error 2021-04-01 16:41:21 +08:00
Ping Xiao f75a675b0d [TD-3588]<test>: update test case 2021-04-01 15:28:29 +08:00
Shengliang Guan ce72d94dc2
Merge pull request #5637 from nianhongdong/patch-1
Update JDBCDemo.java
2021-04-01 15:12:43 +08:00
huili 58d1d6a46c
Merge pull request #5644 from taosdata/test/jenkins
fix travis output
2021-04-01 13:34:33 +08:00
huili 0fe2b96b9e
Merge pull request #5543 from taosdata/feature/TD-1380
[TD-3274]<test> add case for TD-3274
2021-04-01 11:19:49 +08:00
liuyq-617 58d76f3d26 fix 2021-04-01 10:41:37 +08:00
liuyq-617 ac7baae88b fix travis output 2021-04-01 10:14:25 +08:00
Shuduo Sang 6cb5af8072
Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5636)
* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-31 21:40:40 +08:00
Haojun Liao 18f5fd3a6e [td-3621]update sim 2021-03-31 21:26:11 +08:00
Haojun Liao fb14bd47c3 [td-3621]update sim 2021-03-31 21:23:30 +08:00
Haojun Liao be192f496e [td-3621] 2021-03-31 21:21:39 +08:00
Haojun Liao fcf35bd7d2 [td-3571] <fix>: fix null value filter bug for bool type. 2021-03-31 21:12:41 +08:00
haojun Liao ff2f32ad9f
Merge pull request #5626 from taosdata/hotfix/TD-3605
[TD-3605]fix CQ memleak issue
2021-03-31 19:56:14 +08:00
huili 8f86e3bd36
Merge pull request #5631 from taosdata/xiaoping/add_test_case
[TD-3602]<test>: update perf test script
2021-03-31 15:32:57 +08:00
nianhongdong 61d7d9ab41
Update JDBCDemo.java
71和76行测试示例的数据库和表名没有动态拼接,测试用在前面改数据库名和表名,会导致运行报错
2021-03-31 13:46:01 +08:00
Ping Xiao 3631d276f2 update test script 2021-03-31 11:35:15 +08:00
dapan1121 735e1a441a add debug info 2021-03-31 09:19:31 +08:00
dapan1121 a5b4ae6945 support child table having query 2021-03-30 19:39:48 +08:00
Ping Xiao 97b3cdb0de [TD-3602]<test>: update perf test script 2021-03-30 18:46:43 +08:00
Haojun Liao 1f1d494657 [td-2819] refactor codes. 2021-03-30 18:08:00 +08:00
wu champion a782a3c569 add perfbenchmark/bug3589.py to fulltest.sh 2021-03-30 16:22:43 +08:00
wu champion d8b1d36e6c add TD-3589 test case 2021-03-30 16:21:26 +08:00
Ping Xiao 1a8d62834f [TD-3602]<test>: update perf test script 2021-03-30 15:18:49 +08:00
Haojun Liao cdd7eed78c [td-2819] refactor codes. 2021-03-30 14:20:35 +08:00
Haojun Liao 9663eea7c9 [td-2819] 2021-03-29 23:14:01 +08:00
huili ea1508bfee
Merge pull request #5569 from taosdata/test/TD-3433
[TD-3433]<fix>add case for TD-3433
2021-03-29 19:06:03 +08:00
Shengliang Guan 45d60b50e8
Merge pull request #5611 from taosdata/fix/TD-3581
[TD-3581]<fix>: fix uniq/dnode/remove2.sim step3
2021-03-29 18:03:14 +08:00
Shengliang Guan 5ba4898aaa
Merge pull request #5608 from taosdata/feature/linux
[TD-3449]<fix>: fix drop if not exists error
2021-03-29 17:56:40 +08:00
Minglei Jin 8a54938d50 [TD-3581]<fix>: fix uniq/dnode/remove2.sim step3 2021-03-29 15:23:14 +08:00
zyyang d2ec29715a
[TD-3410]<feature>: support nutz framework (#5600)
* [TD-3410]feature: adapted to nutz

* change

* change

* change

* change

* [TD-3447]<feature>: JDBC-RESTful and JDBC-JNI support setObject

* change

* change

* change

* change

* change

* change

* change

* change

* change

* change

* change

* change

* [TD-3548]<feature>: support ParameterMetaData in JDBC-RESTful and JDBC-JNI

* change

* change

* [TD-3446]<feature>: JDBC-JNI and JDBC-RESTful do not need invoke Class.forName any more

* change jdbc version

* change

* change

* change
2021-03-29 14:42:49 +08:00
Shengliang Guan 5be1a1d736 [TD-3449]<fix>: fix drop if not exists error 2021-03-29 03:14:51 +00:00
Ping Xiao 4508bb998f [TD-3474]<test>: add test case 2021-03-29 10:15:41 +08:00
huili 9bccfe95c3
Merge pull request #5599 from taosdata/test/jenkins
[TD-3570]<test>add taosd valgrind test
2021-03-29 10:04:16 +08:00
huili 7abd3da2bc
Merge pull request #5575 from taosdata/xiaoping/add_test_case
[TD-1139]<test>: add c examples into CI
2021-03-29 10:03:47 +08:00
Shuduo Sang 41741a599f
Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5602)
* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix coverity scan issues.

check super tbl info pointer.

* [TD-3197] <fix>: fix coverity scan issues.

move sub tbl query thread join into loop

* [TD-3197] <fix>: fix coverity scan issues.

remove unused variable

* [TD-3197] <fix>: fix coverity scan issues.

use more secure random library

* [TD-3197] <fix>: fix coverity scan issues.

use strncpy for more safe

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

replace arc4random with rand().

* [TD-3197] <fix>: fix coverity scan issues.

check stb info pointer for start time

* [TD-3197] <fix>: fix coverity scan issues.

fix strcpy vulnerability

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

modify taosdemoTest2. try to check database continously.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-28 20:23:11 +08:00
root 81e6b7301e fix 2021-03-27 15:32:10 +08:00
root c01e23925d [TD-3570]<test>add taosd valgrind test 2021-03-27 15:23:23 +08:00
dapan1121 1f02bee6cb Merge branch 'develop' into feature/TD-2577 2021-03-26 17:31:39 +08:00
wu champion 515397d447 Merge branch 'test/TD-3433' of https://github.com/taosdata/TDengine into test/TD-3433 2021-03-26 10:52:32 +08:00
wu champion c2da6d215a Merge branch 'develop' into test/TD-3433 2021-03-26 10:50:39 +08:00
wu champion 9db07982b2 fix 2021-03-26 10:50:14 +08:00
huili f089bf0440
Merge pull request #5579 from taosdata/test/jenkins
fix jenkins error
2021-03-26 10:17:47 +08:00
liuyq-617 a504403cbc fix 2021-03-26 09:57:26 +08:00
liuyq-617 1cf439125c balance 2021-03-26 09:53:17 +08:00
Ping Xiao 1f08d25d63 Merge branch 'develop' into xiaoping/add_test_case 2021-03-26 01:11:36 +08:00
huili a4b3e5a78a
Merge pull request #5572 from taosdata/test/jenkins
[TD-3443]<test>fix taosd deadlock in CI
2021-03-25 19:34:00 +08:00
Ping Xiao 9887a58e74 [TD-1139]<test>: add c examples into CI 2021-03-25 16:46:56 +08:00
haojun Liao 8ffcf8af58
Merge pull request #5567 from taosdata/hotfix/TD-3464
[TD-3464]fix asyncdemo crash issue
2021-03-25 16:39:55 +08:00
liuyq-617 c10285f1a0 [TD-3443]<test>fix taosd deadlock in CI 2021-03-25 16:16:50 +08:00
liuyq-617 093efa1117 fix taosd deadlock in CI 2021-03-25 16:13:21 +08:00
haojun Liao 36ed687b33
Merge pull request #5533 from taosdata/feature/TD-3295
[TD-3295]support multiple tables join
2021-03-25 15:51:39 +08:00
wu champion c7f4cd251d
Update bug3433.py 2021-03-25 15:09:25 +08:00
wu champion e113aa20ba add case for TD-3433 2021-03-25 14:58:18 +08:00
dapan1121 eafc5d39a5
Update asyncdemo.c 2021-03-25 14:34:50 +08:00
Ping Xiao 5a4ac21df7 fix crash issue 2021-03-25 14:31:10 +08:00
wu champion e3f4c9038c
Merge branch 'develop' into feature/TD-1380 2021-03-25 10:52:55 +08:00
Shuduo Sang 6e3322d35d
Feature/sangshuduo/td 3434 taosdemo support query times (#5541)
* [TD-3434] <feature>: taosdemo support query times

first commit.

* [TD-3434] <feature>: taosdemo support query times.

refine interlace test case.

* [TD-3434] <feature>: taosdemo support query times.

change cmdline parameters according to TD-3431.

* [TD-3434] <feature>: taosdemo support query times.

fix typo in fulltest.sh

* [TD-3434] <feature>: taosdemo support query times.

add 2 sec sleep to avoid segfault.

* [TD-3434] <feature>: taosdemo support query times.

make query test easier to pass.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-24 16:58:09 +08:00
huili 96fec5513a
Merge pull request #5455 from wu-champion/feature/TD-1380
[TD-3274]<test>: add test case for  1970 years ago
2021-03-24 09:35:54 +08:00
huili 1ce4dce8d3
Merge pull request #5534 from taosdata/test/TD-3375
[test]<fix> add TD-3375 case
2021-03-24 09:34:39 +08:00
huili 1b3048dc96
Merge pull request #5540 from taosdata/test/jenkins
<test>abort last job
2021-03-24 09:33:41 +08:00
Ping Xiao e65475cc1d update docker cluster script 2021-03-23 18:14:29 +08:00
liuyq-617 a9eecfa5c1 fix 2021-03-23 15:59:41 +08:00
Shuduo Sang 3b97bd716d
Feature/sangshuduo/td 3317 taosdemo interlace (#5537)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3317] <feature>: support interlace mode insertion.

add time shift for no sleep time.

* [TD-3317] <feature>: support interlace insert.

rework timestamp.

* [TD-3317] <feature>: support interlace mode insertion.

change rows_per_tbl to interlace_rows.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-23 15:14:50 +08:00
wu champion 5f27c38a0b
Update query1970YearsAf.py 2021-03-23 14:10:25 +08:00
wu champion 74b5b241ca fix 2021-03-23 14:05:05 +08:00
wu champion 965d553964 fix the case:add delete tmp file step 2021-03-23 13:59:29 +08:00
wu champion 2de9628249 fix the case 2021-03-23 13:55:10 +08:00
wu champion ef248d09fd fix case,add delete file when processing over 2021-03-23 13:55:10 +08:00
wu champion dff5c11f29 [test]<fix> add test case and bug case 2021-03-23 13:55:10 +08:00
wu champion 7c749e24c8 [TD-1380]<fix> fix the case of query1970YearsAf.py 2021-03-23 13:55:10 +08:00
liuyq-617 5e8ab6b948 fix 2021-03-23 13:04:42 +08:00
liuyq-617 6555dcf477 [TD-3432]fix jenkins 2021-03-23 12:55:34 +08:00
Shuduo Sang dfdeb7e0cc
[TD-3431] <fix>: fix taosdemo cmdline incorrect arguments. (#5536)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-23 11:15:11 +08:00
liuyq-617 25193859c3 Merge branch 'develop' into test/jenkins 2021-03-23 10:54:36 +08:00
liuyq-617 ec4e27e46d fix 2021-03-23 10:49:55 +08:00
wu champion bd37922bac
Delete query1970YearsAf.py 2021-03-22 18:52:17 +08:00
wu champion 88ab7666b9
Delete bug3351.py 2021-03-22 18:52:02 +08:00
wu champion 5d2fa94960
Update fulltest.sh 2021-03-22 18:51:49 +08:00
wu champion a162b6161e fix fulltest.sh:add query/bug3375.py 2021-03-22 18:46:54 +08:00
dapan1121 139ed7dea1 add test case 2021-03-22 17:35:10 +08:00
wu champion d73ae7d7f0 add case for TD-3375 2021-03-22 17:17:31 +08:00
wu champion 53a128b2a3 fix case,add delete file when processing over 2021-03-22 17:02:53 +08:00
huili 3e2464688e
Merge pull request #5523 from taosdata/test/testcase
[TD-3368]<test>output log of failed case
2021-03-22 16:22:51 +08:00
huili 2abe9bfda5
Merge pull request #5526 from taosdata/xiaoping/add_test_case
[TD-3413]<test>: make docker cluster support enterprise version
2021-03-22 16:21:49 +08:00
liuyq-617 d354ce2e55 fix 2021-03-22 16:18:25 +08:00
liuyq-617 fb7599b7f4 fix docker compose error 2021-03-22 16:11:49 +08:00
Shuduo Sang 82ad11630d
Feature/sangshuduo/td 3416 taosdemo interlace testcase (#5524)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3317] <feature>: support interlace mode insertion.

add time shift for no sleep time.

* [TD-3317] <feature>: support interlace insert.

rework timestamp.

* [TD-3416] <feature>: add taosdemo interlace testcase.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-22 15:44:06 +08:00
Shengliang Guan b49441af81
Merge pull request #5530 from taosdata/feature/linux
allow topic to be 0
2021-03-22 15:35:43 +08:00
Ping Xiao 81d62650e9 Fix script issue 2021-03-22 14:56:22 +08:00
Ping Xiao 720661366a [TD-3413]<test>: make docker cluster support enterprise 2021-03-22 14:52:39 +08:00