Commit Graph

43 Commits

Author SHA1 Message Date
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
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
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
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
Shuduo Sang b294d3ebaa
Feature/sangshuduo/td 3317 taosdemo interlace (#5500)
* [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.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-19 17:43:18 +08:00
Shuduo Sang 3f312f8bf4
Feature/sangshuduo/td 3317 taosdemo interlace (#5476)
* [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

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-17 23:15:18 +08:00
Shuduo Sang 8e455df297
Hotfix/sangshuduo/td 3327 taosdemo segfault sampledata (#5458)
* [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.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-16 18:51:11 +08:00
Shuduo Sang bbfde59f0a
Hotfix/sangshuduo/td 3316 testcase for taosdemo limit offset (#5451)
* [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.
2021-03-16 07:55:22 +08:00
Shuduo Sang 7d7f7ada31 [TD-3316] <test>: add testcase for taosdemo child table limit and offset. 2021-03-15 19:13:59 +08:00
Shuduo Sang ac4311d488 [TD-3192] <feature>: support child table limit and offset.
add test case
2021-03-15 19:09:51 +08:00
Shuduo Sang 867f443c5b [TD-3192] <feature>: support stb limit and offset. fix sleep time. 2021-03-11 20:57:39 +08:00
Shuduo Sang 9e7ed32f40 [TD-3192] <feature>: support stb limit and offset. refactor. 2021-03-11 16:16:54 +08:00
Ping Xiao a886b8e447 update test case, reduce case time 2021-03-05 16:51:04 +08:00
Shuduo Sang 12d89a7547 [TD-2984] <fix>: combine taosdemo and taosdemox. modify test case for new schema. 2021-02-22 03:00:14 +00:00
Shuduo Sang eb8ca83bda [TD-2984] <fix>: combine taosdemo and taosdemox. 2021-02-22 01:58:52 +00:00
Shuduo Sang 0b718f8854 [TD-2984] <fix>: combine taosdemo and taosdemox. fix taosdemoTest.py. 2021-02-20 03:12:17 +00:00
Shuduo Sang f2fc2fe82e [TD-2984] <fix>: combine taosdemo and taosdemox. 2021-02-19 06:35:49 +00:00
Ping Xiao 86c2c8f871 Fix taosdemotest2.py failure 2021-02-04 10:58:11 +08:00
Ping Xiao 01e47002ea Fix taosdemoTest2.py failure 2021-02-04 10:32:57 +08:00
Ping Xiao bdc6e4f00b Fix taosdemo test failure 2021-02-02 16:50:32 +08:00
Ping Xiao 4868573897 [TD-2687]<test> add test case 2021-01-08 10:23:09 +08:00
Ping Xiao 1d6105641f fix lowa test failure 2021-01-05 17:19:31 +08:00
Ping Xiao 58e23b5295 [TD-2551]<test>: get insert delay values for taosdemo performance 2020-12-29 19:56:06 +08:00
Ping Xiao ffa51bb990 [TD-2114]<test>: Imporve performance test script 2020-12-08 16:00:19 +08:00
Ping Xiao c0b7e87222 [TD-2337] <test> add test case 2020-12-06 23:30:21 +08:00
Ping Xiao 431fc93950 add test cases into fulltest.sh 2020-11-25 16:15:22 +08:00
Ping Xiao 3e7c81eafb [TD-2126] <test> add test case for taosdump 2020-11-25 16:03:43 +08:00
Ping Xiao 3b6b05691f [TD-1355] <test> add test case, fix queryInterval 2020-11-19 17:54:27 +08:00
Ping Xiao cf094e9032 [TD-1447] <test> add test case for lowa 2020-11-12 10:00:59 +08:00
liuyq-617 0bf112a258 [TD-1532] fix taosdemo case bug 2020-09-23 11:42:34 +08:00
Ping Xiao cc8a315c3e TD-1113: Add taosdemo into daily test 2020-08-13 17:12:01 +08:00