Commit Graph

1229 Commits

Author SHA1 Message Date
huili cc4ccf0976
Merge pull request #6331 from taosdata/test/TD-4474
Test/td 4474
2021-06-02 10:28:23 +08:00
Shengliang Guan 0d5d2736be Merge from master 2021-06-02 10:27:07 +08:00
bryanchang0603 08f33005b6 [TD-4475] update test case 2021-06-01 19:02:34 +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
tomchon 60ba384978 [TD-4290]<test>: add testcase that compact wal file 2021-06-01 18:16:28 +08:00
bryanchang0603 054ab0d868 Merge branch 'master' into test/TD-4422 2021-06-01 18:03:43 +08:00
bryanchang0603 9eb020f900 [TD-4475] adding draft test case 2021-06-01 18:02:32 +08:00
bryanchang0603 d7ff9c999a [TD-4474] moldifying the test case 2021-06-01 17:11:39 +08:00
bryanchang0603 469f709521 [TD-4474] adding test case for testing lastRow hot alter 2021-06-01 16:58:27 +08:00
bryanchang0603 c55f6121a0 [TD-4463] moldifying alter_keep.py 2021-06-01 16:13:40 +08:00
bryanchang0603 8119f72b58 Merge branch 'develop' into test/TD-4463 2021-06-01 16:04:29 +08:00
Shengliang Guan 56d77cc316 Merge from master 2021-06-01 15:46:53 +08:00
bryanchang0603 aa706fd5e7 [TD-4463] add test case for checking keep modification 2021-06-01 13:43:19 +08:00
robotspace 68aeccbe7f
Add support for async insert and connection pool. (#6244)
* Add support for async query. Only insert result is parsed.

* Add support for connection pool.

* Add one case for lua connector in smoke test case list.

* Build dymanic library for lua connector before smoke test.
2021-06-01 13:35:19 +08:00
huili ca3ec15956
Merge pull request #6311 from taosdata/test/d-TD-4447
[TD-4447]<test>import the same csv twice
2021-06-01 13:33:33 +08:00
Shengliang Guan 5c9d8e3c79 Merge from master 2021-06-01 11:53:49 +08:00
bryanchang0603 f26a6a23a5 [TD-4422] adding test case for auto_create_table exception cases 2021-06-01 09:57:10 +08:00
bryanchang0603 0cf6c3c4ac Merge branch 'master' into test/TD-4422 2021-06-01 09:25:21 +08:00
dapan1121 ce7bfcf024 fix case issue 2021-06-01 08:28:45 +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
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
liuyq-617 23217b7ee6 [TD-4447]<test>import the same csv twice 2021-05-31 08:24:23 +00:00
tickduan d5965c461a must ltime >0 to replace 2021-05-31 15:51:43 +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
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
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
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
Ping Xiao 06e9250c6b Merge branch 'master' into xiaoping/test_case 2021-05-28 14:07:44 +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
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
Ping Xiao 34d6383a3c [TD-4122]<test>: add test case 2021-05-27 16:13:46 +08:00
Shengliang Guan 541741cdda Merge from master into develop 2021-05-26 14:33:16 +08:00
Steven Li 20fa37c253 Enhanced crash_gen tool with -k option to produce valgrind result 2021-05-24 06:11:39 +00: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
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
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
Ping Xiao 4b016b75bb [TD-4263]<test>: update performance test script 2021-05-20 19:08:42 +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
Huo Linhe 88107acde7 [TD-4160]<fix>: remove python connector soft links, fix tests and documents 2021-05-14 10:27:13 +08:00
Shengliang Guan 984875940a Merge from master into develop 2021-05-14 09:53:57 +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
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 6d8f5000ff [td-4147]update the test case. 2021-05-12 11:24:23 +08:00
Shengliang Guan 644f41a0bb Merge from master into develop 2021-05-11 20:58:18 +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
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
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
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
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
Haojun Liao b6e04604cb [td-3967] 2021-05-07 17:29:00 +08:00
Ping Xiao f4afe2f9d8 [TD-4019]<test> add test case 2021-05-07 15:00:40 +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
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
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
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
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
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
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
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
liuyq-617 07cded1fad improve coverage of operations 2021-04-25 15:16:39 +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 9f70bace9b
Merge branch 'develop' into feature/qrefactor 2021-04-23 18:10:49 +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
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 aa65f33cbe
Merge pull request #5853 from taosdata/hotfix/TD-3805
[TD-3805]CQ time issue
2021-04-23 10:15:07 +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
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
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
wu champion 5745b2d011
Update fulltest.sh 2021-04-21 10:01:56 +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
Ping Xiao d1ba0f58ef [TD-3800]<test>: add test case for query last(*) 2021-04-19 13:54:40 +08:00
Shengliang Guan db8deb4472
Merge pull request #5831 from taosdata/master
Merge master into develop
2021-04-16 11:02:27 +08:00
wu champion db0f06afb2 [TD-3587]<test> add case for TD-3587 to CI 2021-04-15 11:40:37 +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
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
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
huili 7057c90602
Merge pull request #5756 from taosdata/fix/jenkins
[TD-3727]Suppressing errors in valgrind
2021-04-10 13:16:32 +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
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