Commit Graph

192 Commits

Author SHA1 Message Date
wenzhouwww 404fb23135
"fix an error in test case "
fix an error in test case about "tao_consume is called too frequently so that the interval between them is less than the interval set in taos_subscribe."
2021-08-04 16:46:51 +08:00
Ping Xiao d2aea28c24 [TD-5730]<test>: update performance test script 2021-08-04 14:46:39 +08:00
Ping Xiao 45be5de3be [TD-5730]<test>: update performance test script 2021-08-04 14:43:02 +08:00
wenzhouwww cac5123a40 [TD-5369]<test> adjust sleep time to run pass in CI ! 2021-08-04 13:33:04 +08:00
Shengliang Guan 4dac6ac4f1 merge from master 2021-07-30 13:52:54 +08:00
Hui Li 4ba22f9520
Merge pull request #6984 from taosdata/test/TD-5369
Test/td 5369
2021-07-29 10:28:02 +08:00
Hui Li cabbc135fa
Merge pull request #7043 from taosdata/dev/chr
[TD-4432]<test>: modify taodemo-testcase that using stmt interface
2021-07-29 09:49:34 +08:00
Haojun Liao d3467a5981
Merge branch 'develop' into feature/query 2021-07-28 15:30:42 +08:00
Hui Li b73a2f7070
Merge branch 'develop' into test/TD-5369 2021-07-28 10:37:41 +08:00
Hui Li bdb79f5400
Merge pull request #6961 from taosdata/test/TD-5213-d
Test/td 5213 d
2021-07-28 10:17:37 +08:00
wenzhouwww 84cbdeb8a7 [TD-5370]<test>:new branch for test case about taosdump nano support 2021-07-27 15:40:24 +08:00
tomchon 8aa0a37392 [TD-4432]<test>: add taodemo-testcase that using stmt interface 2021-07-27 11:40:47 +08:00
wenzhouwww 74fa1114f3 [TD-5369]<test> change the nums of tables and insert rows! 2021-07-27 11:06:04 +08:00
tomchon e0b00c0510 [TD-4432]<test>: add taodemo-testcase that using stmt interface 2021-07-26 18:06:07 +08:00
Haojun Liao 2323d5a228 [td-225] update the test script. 2021-07-24 14:33:54 +08:00
tomchon e47659e0c5 taosdemo 2021-07-23 21:19:09 +08:00
wenzhouwww 8c62d84a3d [TD-5369]<test> add test case about taosdemo params 'time_step' 2021-07-23 20:05:08 +08:00
happyguoxy 0b7a625744 [TD-5213]<test>:test 4096 columns with taosdemo 2021-07-23 11:10:59 +08:00
happyguoxy 07bf3966ec [TD-5213]<test>:test 4096 columns with taosdemo 2021-07-23 11:10:45 +08:00
wenzhouwww c133eb1cfe [TD-5369]<test> modify an error about insert 2021-07-23 10:07:02 +08:00
wenzhouwww 5af5a71965 [TD-5369]<test> add test case for taosdemo nano support! 2021-07-22 20:09:05 +08:00
wenzhouwww 1bdd683872 [TD-5369]<test> taosdemo test case for nano support , the sql files is must be here! 2021-07-22 19:59:36 +08:00
tomchon 025361610b [TD-5296]<test>: modify taodemo-testcase about increasing max columns to 4096 2021-07-22 18:46:17 +08:00
tomchon 003dba84b1 [TD-4432]<test>: add taodemo-testcase that using stmt interface 2021-07-22 18:41:18 +08:00
tomchon 4bef2da4d8 Merge branches 'dev/chr' and 'develop' of github.com:taosdata/TDengine into dev/chr
Conflicts:
	tests/pytest/tools/taosdemoAllTest/taosdemoTestInsertWithJson.py
2021-07-21 16:51:25 +08:00
happyguoxy f12d1f2769 [TD-5213]<test>:test 4096 columns with taosdemo 2021-07-21 16:12:32 +08:00
happyguoxy d966ee23d6 [TD-5213]<test>:test 4096 columns with taosdemo 2021-07-21 16:12:18 +08:00
happyguoxy 1ab5ce7fa9 [TD-5213]<test>:test 4096 columns with taosdemo 2021-07-21 16:12:04 +08:00
happyguoxy 756a60f91f [TD-5213]<test>:test 4096 columns without taosdemo 2021-07-21 16:11:41 +08:00
Hui Li 02a898b318
Merge pull request #6935 from taosdata/xiaoping/add_test_case
[TD-5399]<test>: update scripts for daily performance test
2021-07-20 16:21:45 +08:00
Ping Xiao a8ced0f493 fix runtime error 2021-07-20 13:46:24 +08:00
Shuduo Sang 211c7f38ce
[TD-5398]<fix>: taosdemo 4096 columns table creation failed. (#6931)
* [TD-5398]<fix>: taosdemo 4096 columns table creation failed.

* change column name prefix from col to c for maxium column number to fix buffer length.

* use accurate buffer length.

* fix test case for column name be shorter.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-20 11:49:58 +08:00
Shuduo Sang e8b3fde4dc
[TD-5398]<fix>: taosdemo 4096 columns table creation failed. (#6930)
* [TD-5398]<fix>: taosdemo 4096 columns table creation failed.

* change column name prefix from col to c for maxium column number to fix buffer length.

* fix test case for column name be shorter.

* use accurate buffer length.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-20 10:14:55 +08:00
Haojun Liao c1fa46d543
Merge pull request #6706 from taosdata/feature/TD-4666
Feature/td 4666
2021-07-19 10:40:03 +08:00
Shengliang Guan 195ce6d133 Merge from master into develop 2021-07-16 14:01:22 +08:00
tomchon c05b99baf2 [TD-4432]<test>: add taodemo-testcase that using stmt interface 2021-07-15 15:00:48 +08:00
Cary Xu 0063cb84e2 comment the taosdemo test temporarily 2021-07-15 14:38:30 +08:00
Cary Xu 5a19bd96a0 Merge branch 'develop' into feature/TD-4666 2021-07-14 16:49:13 +08:00
happyguoxy 5ac5cf0051 [TD-5213]<test>test 2021-07-14 10:22:24 +08:00
happyguoxy b81ca3465a [TD-5213]<test>test 2021-07-14 10:22:10 +08:00
happyguoxy 704fce3263 [TD-5213]<test>test 2021-07-14 10:22:02 +08:00
Shuduo Sang 5528a0d7d5
Hotfix/sangshuduo/td 5136 taosdemo rework for master (#6836)
* cherry pick from develop branch.

* [TD-5136]<feature>: taosdemo simulate real senario.

* update test case according to taosdemo change

* adjust range of semi-random data.
2021-07-12 19:08:29 +08:00
Shuduo Sang 4486cae180
[TD-5136]<feature>: taosdemo simulate real senario. (#6833)
* [TD-5136]<feature>: taosdemo simulate real senario.

* update test case according to taosdemo change
2021-07-12 17:08:54 +08:00
kailixu 048c8dedd9 test case adaption for 4096 2021-07-11 21:24:35 +00:00
Shuduo Sang cb802a0c42
Hotfix/sangshuduo/m2d 20210707 (#6795)
* [TD-4132]<test>: add taosdump-testcase of boundary value testing

* [TD-3952]<test>: add taodemo-testcase that query with restful connector

* merge master

* modify taosdemo-testcase

* add testcase of async subscirbe  and max sql num

* testcase-subscribe of super table

* testcase-modify sub

* modify subscribe testcase

* [TD-4238]<test>: add taodemo-testcase that  records of number in request sql less than 32767

* add taosdemo-subscribe-testcase

* update taosdemo testcase

* temp commit

* temp commit

* temp commit

* temp1

* temp

* [TD-4835] add lua lib

* [TD-4369]<test>: add testcase of resubscibe

* [TD-4826]<fix>: new error code 0x0406 (Dnode is exiting) for tsc

* [TD-4369]<test>: add testcase of resubscibe and json file

* temp

* update master to develop's version

* Update boundary2.py

* [TD-4912]<hotfix>: fix coredump when drop vnode

* Hotfix/sangshuduo/td 3801 taosdump coverity scan issue (#6642)

* [TD-3801]<fix>: taosdump coverity scan issue.

* merge from commit: 069169e7c1 and fix coverity scan issue.

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

* [TD-4932]fix jenkins errors on master branch (#6645)

* [TD-4932]fix jenkins errors on master branch

* fix

* fix

* fix

* fix

* [TD-4132]<test>:modify taosdump-testcase of column length

* [TD-4918]<fix>: taosdemo subscribe endAfterResume. (#6653)

* [TD-4915]<fix> fix show-create-database except

* Hotfix/sangshuduo/td 4892 taosdemo sub fetch (#6669)

* [TD-4892]<fix>: taosdemo subscribe fetch result.

* fix stbname length.

* restrict prefix length.

* submit empty

* fix minor code.

* fix crash if no result file.

* decrease few debug print level.

* fix offset issue

* [TD-4987]<fix>: issues memory sanitizier detected. (#6675)

* [TD-4826]<fix>: no extra sleep if no message in vwqueue

* [TD-4593]<fix>: fix vnode cannnot close while syncing

* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6685)

* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* Hotfix/sangshuduo/td 4987 detected by mem sanitizer (#6684)

* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.

* [TD-4828]<fix> handle dnode exit code

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6702)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

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

* TD-4835

* only compile in lua

* [td-4748]<fix>:fix the temp file generate buf on windows platform.

* change cmake options

* [TD-5007]<fix>: use build directory's taosdump to test. (#6710)

btw, solve two taosdemo test cases too.

* Hotfix/sangshuduo/td 4838 taosdump binary len bug (#6713)

* [TD-4838]<fix>: taosdump binary length bug.

* taosdump code refactoring.

* fix arm32 compile issue.

* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6723)

* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* fix illegal input value of consume.

* Hotfix/sangshuduo/td 3197 taosdemo coverity scan for master (#6725)

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

* exit if read sample file failed.

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

* [TD-4985]<test>:test query limit and offset function

* [TD-4985]<test>:test query limit and offset function

* [TD-4985]<test>:test query limit and offset function

* [TD-4985]<test>:test query limit and offset function

* [TD-5018]<fix>: taosdemo prompt if the batch is too large to insert data. (#6736)

* fix dead loop issue

* fix taosdemoPerformance.py runtime error

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6753)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

* [TD-3937]<feature>: support jemalloc

add install funtion to all scripts.

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

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6763)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

* [TD-3937]<feature>: support jemalloc

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

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

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6765)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

* [TD-3937]<feature>: support jemalloc

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

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

* [TD-5067]<fix>: taosdemo stmt use sample data (#6760)

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6768)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

* [TD-3937]<feature>: support jemalloc

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

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

* [TD-5063]<test>:test insert locking bug

* [TD-5063]<test>:test insert locking bug

* [TD-4705]<fix>: disallow file sync starting when vnode closing

* Hotfix/sangshuduo/td 5053 taosdump support nanosecond for master (#6778)

* cherrypick from develop branch

* fix arm32 compile issue.

* [TD-5053]<feature>: taosdump supports nanosecond.

* fix precision parsing order issue.

* [TD-5053]<fix>: taosdump support nanosecond.

pre-cherry-pick.

* Hotfix/sangshuduo/td 5100 gtest centos for master (#6781)

* cherry pick from develop branch.

* detect both shared library and static library.

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6789)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

* [TD-3937]<feature>: support jemalloc

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

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

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6794)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

* [TD-3937]<feature>: support jemalloc

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

* cherry pick from develop branch.

* cherry pick from develop branch.

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

* fix taosdumpTest case as -N will lead no property dumped.

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Baosheng Chang <changb9@mcmaster.ca>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Yiqing Liu <yqliu@taosdata.com>
Co-authored-by: Hui Li <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: wpan <wpan@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: happyguoxy <happy_guoxy@163.com>
Co-authored-by: Ping Xiao <pxiao@taosdata.com>
2021-07-08 07:01:49 +08:00
Hui Li c14b74ef58
Merge pull request #6738 from taosdata/test/TD-4985-m
Test/td 4985 m
2021-07-06 10:11:57 +08:00
Ping Xiao 748fadeeff fix taosdemoPerformance.py runtime error 2021-07-05 17:22:45 +08:00
zhaoyanggh 238925ddbc add manual test case of subscription with no result file defined 2021-07-05 13:26:49 +08:00
happyguoxy 180b8a279f [TD-4985]<test>:test query limit and offset function 2021-07-05 11:36:30 +08:00
happyguoxy ab1fadef86 [TD-4985]<test>:test query limit and offset function 2021-07-05 11:36:06 +08:00
happyguoxy 26e42a0350 [TD-4985]<test>:test query limit and offset function 2021-07-05 11:35:30 +08:00
Shuduo Sang de69a8a5af
Hotfix/sangshuduo/m2d 20210702 (#6719)
* [TD-4132]<test>: add taosdump-testcase of boundary value testing

* [TD-3952]<test>: add taodemo-testcase that query with restful connector

* merge master

* modify taosdemo-testcase

* add testcase of async subscirbe  and max sql num

* testcase-subscribe of super table

* testcase-modify sub

* modify subscribe testcase

* [TD-4238]<test>: add taodemo-testcase that  records of number in request sql less than 32767

* add taosdemo-subscribe-testcase

* update taosdemo testcase

* temp commit

* temp commit

* temp commit

* temp1

* temp

* [TD-4835] add lua lib

* [TD-4369]<test>: add testcase of resubscibe

* [TD-4826]<fix>: new error code 0x0406 (Dnode is exiting) for tsc

* [TD-4369]<test>: add testcase of resubscibe and json file

* temp

* update master to develop's version

* Update boundary2.py

* [TD-4912]<hotfix>: fix coredump when drop vnode

* Hotfix/sangshuduo/td 3801 taosdump coverity scan issue (#6642)

* [TD-3801]<fix>: taosdump coverity scan issue.

* merge from commit: 069169e7c1 and fix coverity scan issue.

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

* [TD-4932]fix jenkins errors on master branch (#6645)

* [TD-4932]fix jenkins errors on master branch

* fix

* fix

* fix

* fix

* [TD-4132]<test>:modify taosdump-testcase of column length

* [TD-4918]<fix>: taosdemo subscribe endAfterResume. (#6653)

* [TD-4915]<fix> fix show-create-database except

* Hotfix/sangshuduo/td 4892 taosdemo sub fetch (#6669)

* [TD-4892]<fix>: taosdemo subscribe fetch result.

* fix stbname length.

* restrict prefix length.

* submit empty

* fix minor code.

* fix crash if no result file.

* decrease few debug print level.

* fix offset issue

* [TD-4987]<fix>: issues memory sanitizier detected. (#6675)

* [TD-4826]<fix>: no extra sleep if no message in vwqueue

* [TD-4593]<fix>: fix vnode cannnot close while syncing

* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6685)

* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* Hotfix/sangshuduo/td 4987 detected by mem sanitizer (#6684)

* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.

* [TD-4828]<fix> handle dnode exit code

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6702)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

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

* TD-4835

* only compile in lua

* [td-4748]<fix>:fix the temp file generate buf on windows platform.

* change cmake options

* [TD-5007]<fix>: use build directory's taosdump to test. (#6710)

btw, solve two taosdemo test cases too.

* Hotfix/sangshuduo/td 4838 taosdump binary len bug (#6713)

* [TD-4838]<fix>: taosdump binary length bug.

* taosdump code refactoring.

* fix arm32 compile issue.

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Baosheng Chang <changb9@mcmaster.ca>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Yiqing Liu <yqliu@taosdata.com>
Co-authored-by: Hui Li <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: wpan <wpan@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
Co-authored-by: Haojun Liao <hjliao@taosdata.com>
2021-07-02 17:31:12 +08:00
Shengliang Guan 88c283f904
Merge from master into develop (#6709)
* [TD-4132]<test>: add taosdump-testcase of boundary value testing

* [TD-3952]<test>: add taodemo-testcase that query with restful connector

* merge master

* modify taosdemo-testcase

* add testcase of async subscirbe  and max sql num

* testcase-subscribe of super table

* testcase-modify sub

* modify subscribe testcase

* [TD-4238]<test>: add taodemo-testcase that  records of number in request sql less than 32767

* add taosdemo-subscribe-testcase

* update taosdemo testcase

* temp commit

* temp commit

* temp commit

* temp1

* temp

* [TD-4369]<test>: add testcase of resubscibe

* [TD-4826]<fix>: new error code 0x0406 (Dnode is exiting) for tsc

* [TD-4369]<test>: add testcase of resubscibe and json file

* temp

* update master to develop's version

* Update boundary2.py

* [TD-4912]<hotfix>: fix coredump when drop vnode

* Hotfix/sangshuduo/td 3801 taosdump coverity scan issue (#6642)

* [TD-3801]<fix>: taosdump coverity scan issue.

* merge from commit: 069169e7c1 and fix coverity scan issue.

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

* [TD-4932]fix jenkins errors on master branch (#6645)

* [TD-4932]fix jenkins errors on master branch

* fix

* fix

* fix

* fix

* [TD-4132]<test>:modify taosdump-testcase of column length

* [TD-4918]<fix>: taosdemo subscribe endAfterResume. (#6653)

* [TD-4915]<fix> fix show-create-database except

* Hotfix/sangshuduo/td 4892 taosdemo sub fetch (#6669)

* [TD-4892]<fix>: taosdemo subscribe fetch result.

* fix stbname length.

* restrict prefix length.

* submit empty

* fix minor code.

* fix crash if no result file.

* decrease few debug print level.

* fix offset issue

* [TD-4987]<fix>: issues memory sanitizier detected. (#6675)

* [TD-4826]<fix>: no extra sleep if no message in vwqueue

* [TD-4593]<fix>: fix vnode cannnot close while syncing

* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6685)

* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* Hotfix/sangshuduo/td 4987 detected by mem sanitizer (#6684)

* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.

* [TD-4828]<fix> handle dnode exit code

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6702)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

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

* fix retentionpolicy bug

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Baosheng Chang <changb9@mcmaster.ca>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Yiqing Liu <yqliu@taosdata.com>
Co-authored-by: Hui Li <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: wpan <wpan@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
2021-07-02 13:51:18 +08:00
Shuduo Sang 08f11d51ee
[TD-5007]<fix>: use build directory's taosdump to test. (#6711)
btw, solve two taosdemo test cases too.
2021-07-02 10:14:41 +08:00
Shuduo Sang 88cc5e5e87
[TD-5007]<fix>: use build directory's taosdump to test. (#6710)
btw, solve two taosdemo test cases too.
2021-07-01 23:28:19 +08:00
tomchon f5f56ae280 [TD-4132]<test>:modify taosdump-testcase of column length 2021-06-28 18:50:11 +08:00
tomchon bcfb8b1fe1 [TD-4369]<test>: add testcase of resubscibe and json file 2021-06-25 16:49:47 +08:00
tomchon 39604d7726 [TD-4369]<test>: add testcase of resubscibe 2021-06-25 15:21:14 +08:00
zhaoyanggh 53f12701f7 add test case to verify taosdump with binary and nchar data 2021-06-25 09:07:12 +08:00
tomchon 4949dd4671 temp 2021-06-09 11:12:42 +08:00
tomchon 73b6c43496 Merge branch 'master' of github.com:taosdata/TDengine into test/chr 2021-06-03 06:26:52 +08:00
bryanchang0603 3ed6933ea8 [TD-4422] remove useless file 2021-06-01 18:34:36 +08:00
bryanchang0603 fd10ee01ed [TD-4422] merging json files into 2 json files 2021-06-01 18:30:13 +08:00
bryanchang0603 f26a6a23a5 [TD-4422] adding test case for auto_create_table exception cases 2021-06-01 09:57:10 +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
tomchon cd6258ebfb temp commit 2021-05-26 21:24:34 +08:00
tomchon 1128b31985 temp commit 2021-05-25 10:36:17 +08:00
tomchon 0eafd19005 Merge branch 'master' of github.com:taosdata/TDengine into test/chr 2021-05-24 13:26:00 +08:00
tomchon df1fb4c5bb update taosdemo testcase 2021-05-22 17:01:22 +08:00
Ping Xiao 9ef6b68030 [TD-4263]<test>: update performance test script 2021-05-22 13:56:06 +08:00
tomchon f321ba919f add taosdemo-subscribe-testcase 2021-05-21 19:16:16 +08:00
tomchon 269547ebd3 Merge branch 'master' of github.com:taosdata/TDengine into test/chr 2021-05-21 14:38:15 +08:00
tomchon 8470f09885 [TD-4238]<test>: add taodemo-testcase that records of number in request sql less than 32767 2021-05-20 19:55:12 +08:00
Ping Xiao 4b016b75bb [TD-4263]<test>: update performance test script 2021-05-20 19:08:42 +08:00
tomchon c8c1b35ee4 modify subscribe testcase 2021-05-20 11:01:18 +08:00
tomchon fef23f6eac testcase-modify sub 2021-05-19 20:16:00 +08:00
tomchon 75fef03688 testcase-subscribe of super table 2021-05-19 17:55:11 +08:00
tomchon abe9b75667 Merge branch 'master' of github.com:taosdata/TDengine into test/chr 2021-05-19 13:23:22 +08:00
tomchon 0f96df1fe6 add testcase of async subscirbe and max sql num 2021-05-19 13:20:20 +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
tomchon a494bb3b21 modify taosdemo-testcase 2021-05-17 19:29:50 +08:00
tomchon 8a8f9d2bf7 merge master 2021-05-13 21:37:01 +08:00
tomchon 15cfeb7f5e [TD-3952]<test>: add taodemo-testcase that query with restful connector 2021-05-13 21:30:50 +08:00
tomchon 0e93801581 [TD-4132]<test>: add taosdump-testcase of boundary value testing 2021-05-11 19:26:15 +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
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
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
tomchon 4573d7f6ea Merge branch 'master' into test/chr 2021-04-23 11:33:23 +08:00
tomchon 46905c402a [TD-3453]<test>:modify filepath in scripts 2021-04-23 11:25:08 +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
tomchon 7eba44be08 [TD-3414]<test>: add insert function with json files of taodemo-testcase 2021-04-22 13:54:23 +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
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
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 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
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
Ping Xiao 97b3cdb0de [TD-3602]<test>: update perf test script 2021-03-30 18:46:43 +08:00
Ping Xiao 1a8d62834f [TD-3602]<test>: update perf test script 2021-03-30 15:18:49 +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
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