Commit Graph

1008 Commits

Author SHA1 Message Date
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
Ping Xiao 8904a1644f remove failed case 2021-04-02 15:25:29 +08:00
Ping Xiao f75a675b0d [TD-3588]<test>: update test case 2021-04-01 15:28:29 +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
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
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
Ping Xiao 97b3cdb0de [TD-3602]<test>: update perf test script 2021-03-30 18:46:43 +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
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
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
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
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 9db07982b2 fix 2021-03-26 10:50:14 +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
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
Ping Xiao e65475cc1d update docker cluster script 2021-03-23 18:14:29 +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
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
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
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
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
liuyq-617 0916d24506 fix hosts error 2021-03-22 14:46:58 +08:00
liuyq-617 a2a6655a6a change 2021-03-22 11:44:41 +08:00
liuyq-617 8c8f3d0835 [TD-3406]<test>support more dnodes in docker clu 2021-03-22 11:35:46 +08:00
wu champion 9172e9346e [test]<fix> add test case and bug case 2021-03-20 16:10:45 +08:00
wu champion d2aa6fe5ad [TD-1380]<fix> fix the case of query1970YearsAf.py 2021-03-19 18:35:26 +08:00
huili 78ca40f843
Merge pull request #5503 from taosdata/test/testcase
[TD-3367]<test>restore last_cache
2021-03-19 17:59:58 +08:00
wu champion e041d4897a
Merge pull request #10 from wu-champion/develop
更新0319内容到1380
2021-03-19 17:50:55 +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
wu champion 59790c4dc0
Merge pull request #7 from wu-champion/develop
更新分支1380
2021-03-19 15:29:45 +08:00
liuyq-617 6c96795ab1 [TD-3367]<test>restore last_cache 2021-03-19 14:14:21 +08:00
Ping Xiao 4afccbd0a5 [TD-3365]<test>: update test case 2021-03-19 13:36:30 +08:00
Ping Xiao ae73ff2074 update docker cluster script 2021-03-19 11:12:06 +08:00
Ping Xiao 153a489e12 [TD-3365]<test>: add test case for query filter on tag type 2021-03-19 09:38:34 +08:00
Ping Xiao a9ea81aaee update docker cluster script 2021-03-18 18:13:44 +08:00
Ping Xiao 9e25723078 remove last_cache.py from full test 2021-03-18 17:48:33 +08:00
liuyq-617 282d1c10f2 [TD-3318]<test>add case for stddev 2021-03-18 11:18:51 +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
wu champion 2f0f9006fc
Merge pull request #5 from wu-champion/develop
更新1380分支
2021-03-17 16:04:24 +08:00
liuyq-617 ba79d022ce rebalance 2021-03-17 15:16:11 +08:00
liuyq-617 683b1282b8 abort build 2021-03-17 14:28:36 +08:00
liuyq-617 4e34b78dcd add stage after build 2021-03-17 14:24:55 +08:00
liuyq-617 8930b00ead inc coreverage of operation 2021-03-17 14:19:03 +08:00
liuyq-617 ea82920d84 remove duplicate case 2021-03-17 13:36:54 +08:00
liuyq-617 cbee31ead8 Merge branch 'develop' into test/testcase 2021-03-17 13:06:12 +08:00
liuyq-617 4c64997447 add case 2021-03-17 13:02:51 +08:00
liuyq-617 608134c229 [TD-3198]<test>sync test case file 2021-03-17 12:38:43 +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
haojun Liao 91b5af2cee
Merge pull request #5453 from taosdata/feature/qrefactor
[td-3313] <fix>: fix join bug
2021-03-16 16:20:07 +08:00
huili 61db2e2217
Merge pull request #5445 from taosdata/xiaoping/add_test_case
[TD-1002]<test>: add test case for double type
2021-03-16 14:19:18 +08:00
huili d70cef9f61
Merge pull request #5443 from taosdata/test/testcase
[TD-3223]<test>case for stddev on the same column
2021-03-16 14:19:09 +08:00
wu-champion 911a573d5b [TD-3274]<test>: add test case for after 1970 years 2021-03-16 14:13:56 +08:00
Haojun Liao befbdf8972 [td-225]update test. 2021-03-16 14:11:05 +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
Ping Xiao e94cbdf532 [TD-1002]<test>: add test case for double type 2021-03-15 15:09:41 +08:00
huili 78eda385c5
Merge pull request #5435 from taosdata/xiaoping/add_test_case
[TD-1002]<test> add test case for percentile function
2021-03-15 09:58:53 +08:00
liuyq-617 7879ca6aba [TD-3223]<test>case for stddev on the same column 2021-03-15 09:52:19 +08:00
Shuduo Sang 232eacec90 [TD-3197] <fix>: fix coverity scan issues. add taosdemo test case. 2021-03-13 22:56:31 +08:00
Ping Xiao 31f9b71d82 [TD-1002]<test> add test case for percentile function 2021-03-13 15:05:35 +08:00
huili 3b2827d8a7
Merge pull request #5403 from wu-champion/feature/TD-3182
[TD-3182] <fix>: fix queryBetweenAnd.py case add to CI
2021-03-13 09:43:59 +08:00
huili 3c72ecd002
Merge pull request #5424 from taosdata/test/testcase
[TD-3196]<test>stddev+group by null tag value
2021-03-13 09:43:03 +08:00
Shuduo Sang 5a42914c34
Merge pull request #5427 from taosdata/feature/sangshuduo/TD-3192-support-tblimit-tboffset
Feature/sangshuduo/td 3192 support tblimit tboffset
2021-03-13 00:02:59 +08:00
liuyq-617 be6c5c8982 [TD-3196]<test>stddev+group by null tag value 2021-03-12 15:14:41 +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
Steven Li 88b0262ecf Temporarily removed last_row as an aggregate function in crash_gen tool 2021-03-11 02:14:14 +00:00
wu-champion 717e7561e2 [TD-3182] <fix>: add queryBetweenAnd.py and add to CI 2021-03-10 14:47:02 +08:00
Steven Li a7c9113dbc Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2021-03-09 03:25:20 +00:00
Steven Li bbf7b47e29 Added -w option to crash_gen tool to write duplicate data to shadow database 2021-03-09 03:24:48 +00:00
liuyq-617 0e1545866d change format 2021-03-08 11:49:46 +08:00
liuyq-617 f2e8fcb820 revert 2021-03-08 11:47:32 +08:00