Commit Graph

319 Commits

Author SHA1 Message Date
cpwu 028dba3c46 fix case 2022-07-16 11:45:43 +08:00
cpwu acc27d46e9 fix case 2022-07-15 15:06:38 +08:00
tomchon d554bf6588 test:modify test frame that add multiple retries for sql execution and query 2022-07-14 21:22:43 +08:00
tomchon e8a0cf5b75 test:add test case of tsbs query 2022-07-14 21:11:39 +08:00
cpwu 4ec50d141a Merge branch '3.0' into cpwu/3.0 2022-07-14 19:02:29 +08:00
afwerar 4849b0cb78 test: fix win test error 2022-07-14 13:58:23 +08:00
cpwu 4a6f707702 Merge branch '3.0' into cpwu/3.0 2022-07-14 11:36:31 +08:00
jiacy-jcy 15ea5e84ed update 2022-07-13 11:17:35 +08:00
cpwu e34e96eb06 Merge branch '3.0' into cpwu/3.0 2022-07-12 16:00:52 +08:00
jiacy-jcy 24cc6f5c25 Merge branch '3.0' into 3.0test/jcy 2022-07-11 03:34:43 +00:00
cpwu 99b0058446 Merge branch '3.0' into cpwu/3.0 2022-07-11 09:17:59 +08:00
tomchon 4d99188ee8 test:modify testcase of qnode 2022-07-10 16:12:09 +08:00
cpwu 53f2fbb664 fix case 2022-07-08 16:20:08 +08:00
jiacy-jcy 718a7350da update test case 2022-07-07 13:56:31 +08:00
cpwu 2ad8cdbaa3
Merge branch '3.0' into cpwu/3.0 2022-07-06 16:03:32 +08:00
cpwu fa08389784 Merge branch '3.0' into cpwu/3.0 2022-07-06 14:44:02 +08:00
jiacy-jcy c2d0315ae9 update test case 2022-07-05 19:38:42 +08:00
cpwu bd4ce93d3e fix case 2022-07-05 17:44:36 +08:00
jiacy-jcy e7ee3b0420 update timetruncate test case 2022-07-05 16:01:54 +08:00
plum-lihui b9cc3e6ec6 test:add test case for tmq 2022-07-01 22:15:20 +08:00
plum-lihui 10dcf571ce test: add test case for tmq 2022-06-30 20:20:27 +08:00
cpwu 4b73cdb529 fix case 2022-06-30 15:34:38 +08:00
cpwu 6e1c6a9f88 Merge branch '3.0' into cpwu/3.0 2022-06-30 10:10:28 +08:00
Hui Li aaad925d35
Merge pull request #14329 from taosdata/test/chr/TD-14699
test:modify testcase of muti-mnodes
2022-06-28 20:28:36 +08:00
tomchon 2b5b2fee6e test:modify testcase of muti-mnodes; 2022-06-28 18:11:50 +08:00
cpwu 70d5666ac7 Merge branch '3.0' into cpwu/3.0 2022-06-28 17:12:20 +08:00
jiacy-jcy 24a9d3e516 update alter_table.py and common.py 2022-06-28 10:05:37 +08:00
cpwu 0e535f77f7 fix constant 2022-06-28 09:43:17 +08:00
cpwu 1627a53612 fix case 2022-06-27 15:34:26 +08:00
cpwu 900bb68cdf Merge branch '3.0' into cpwu/3.0 2022-06-27 09:36:32 +08:00
tomchon ec8a1e54d3 Merge branch '3.0' of github.com:taosdata/TDengine into test/chr/TD-14699 2022-06-25 18:09:30 +08:00
tomchon beae5e3a82 test: modify testcase of muti-mnodes 2022-06-25 18:07:05 +08:00
afwerar 592d8e488f test: add sim full test 2022-06-25 16:14:54 +08:00
cpwu 0e6fe226a2 Merge branch '3.0' into cpwu/3.0 2022-06-25 10:41:26 +08:00
cpwu 7e6ddc7a6f fix case 2022-06-25 10:37:23 +08:00
cpwu d8440475da fix case 2022-06-24 14:59:29 +08:00
cpwu ee8211978e Merge branch '3.0' into cpwu/3.0 2022-06-24 11:17:13 +08:00
jiacy-jcy e176d9a726 Merge branch '3.0' into 3.0test/jcy 2022-06-24 10:19:04 +08:00
cpwu f000a2df96 fix case 2022-06-23 19:53:48 +08:00
tomchon 9462c80508 test: modify testcase of muti-mnodes 2022-06-23 18:25:49 +08:00
tomchon d01e4031bd test: modify testcase of muti-mnodes 2022-06-23 18:01:49 +08:00
cpwu 57696bd3e1 fix case 2022-06-23 12:59:05 +08:00
jiacy-jcy fe77051802 Merge branch '3.0' into 3.0test/jcy 2022-06-23 10:16:38 +08:00
cpwu 5b34782f45 Merge branch '3.0' into cpwu/3.0 2022-06-23 09:58:31 +08:00
cpwu ab2a07ef60 fix : fix constant boundary 2022-06-23 09:25:07 +08:00
cpwu 3ddcfe3b35 fix case 2022-06-22 19:38:42 +08:00
jiacy-jcy d25b6a46a3 Merge branch '3.0' into 3.0test/jcy 2022-11-30 22:43:25 +08:00
jiacy-jcy 607a73baf6 update sqlset.py 2022-11-30 22:39:29 +08:00
jiacy-jcy 87883a2bd9 add util package 2022-09-30 15:45:16 +08:00
tomchon 16c2c5b690 Merge branch '3.0' of github.com:taosdata/TDengine into test/chr/TD-14699 2022-06-22 12:12:37 +08:00
tomchon f381062a57 test: modify testcase of muti-mnodes 2022-06-22 12:07:42 +08:00
Hui Li f880d00656
Merge pull request #14071 from taosdata/3.0test/jcy
test:update test case and add util file for test framework
2022-06-21 20:01:55 +08:00
plum-lihui 74b1ad9706 test: add test case for tmq 2022-06-21 17:03:04 +08:00
cpwu 57de6806ce Merge branch '3.0' into cpwu/3.0 2022-06-21 09:27:59 +08:00
cpwu e0f4ce59b6 fix case 2022-06-21 09:25:37 +08:00
cpwu a1f74aaba7 fix case 2022-06-21 09:22:10 +08:00
plum-lihui 5c5e242b7e test: add test case for tmq 2022-06-18 17:08:57 +08:00
cpwu 12780bed9b fix case 2022-06-16 09:30:25 +08:00
tomchon 0e019d363e Merge branch '3.0' of github.com:taosdata/TDengine into test/chr/TD-14699 2022-06-15 18:47:36 +08:00
tomchon 4ee4266e3c test:modify testcase of muti-mnode 2022-06-15 18:14:11 +08:00
Xiaoyu Wang f740fd61c6 fix: use 'duration' instead of 'days' for create database 2022-06-15 14:23:05 +08:00
Shengliang Guan 3d8ebc2660 refactor: adjust logs 2022-06-13 15:38:43 +08:00
tomchon 9579710f80 Merge branch '3.0' of github.com:taosdata/TDengine into test/chr/TD-14699 2022-06-13 09:57:14 +08:00
tomchon b1a2dff6ba test:add dnode of clusters 2022-06-11 20:30:02 +08:00
afwerar fc489882eb fix(os): add win32 tmq case test 2022-06-11 17:19:53 +08:00
afwerar c105f0a4df fix(os): start win32 taosd case 2022-06-09 19:11:44 +08:00
afwerar d95b7a3dc1 fix(os): add win32 taosd case 2022-06-09 11:48:41 +08:00
afwerar 43df05c161 fix(os): add win32 query case 2022-06-07 16:22:20 +08:00
afwerar da03a3b6fb fix(os): do not kill taosd when case init dnodes 2022-06-06 19:40:13 +08:00
afwerar 268236d804 fix(os): do not kill taosd when case init dnodes 2022-06-06 17:28:45 +08:00
afwerar d01bb6a823 fix(os): add other two win32 udf case 2022-06-05 20:44:13 +08:00
afwerar ac09ef04a9 fix(os): add win32 udf case 2022-06-05 17:02:43 +08:00
afwerar 490889f8e7 fix(os): win python case error 2022-06-03 16:13:06 +08:00
afwerar d84a5af792 fix(os): remote fqdn error 2022-06-01 16:18:47 +08:00
jiajingbin 4abcac3907 test: finish 1-insert/opentsdb_json_taosc_insert.py 2022-05-31 19:01:42 +08:00
plum-lihui f8d29a12ab test: support taosc run by valgrind to python cases 2022-05-31 16:46:01 +08:00
jiajingbin 990abaaab1 test: finish 1-insert/influxdb_line_taosc_insert.py 2022-05-31 16:03:36 +08:00
afwerar 6e59f7c4ee fix(os): config remote server info 2022-05-30 10:38:29 +08:00
jiajingbin 38a6745634 test: add schemaless-insert 1-insert/opentsdb_telnet_line_taosc_insert.py to CI 2022-05-28 21:55:23 +08:00
afwerar e164e194b1 fix(os): case run remote taosd 2022-05-28 17:03:26 +08:00
afwerar 06f72448aa fix(os): case run remote taosd 2022-05-28 15:30:14 +08:00
afwerar f999132ff0 fix(os): windows run shell case 2022-05-27 22:53:29 +08:00
afwerar 1e5ef3b145 fix(os): windows timezone error 2022-05-27 19:00:48 +08:00
afwerar 5a15739cc3 fix(os): run case on win 2022-05-25 20:37:00 +08:00
afwerar 3a0efe7255 fix(os): run case on win 2022-05-25 16:30:26 +08:00
plum-lihui 7e9e0596b7 test:modify valgrind log director 2022-05-22 16:41:10 +08:00
tomchon 3c0a1bc7ee add valgrind.log to dnodes.py 2022-05-20 16:20:27 +08:00
plum-lihui 534dfae907 [test: set days to 300 for default db] 2022-05-18 22:06:59 +08:00
Shengliang Guan eebd3f0f0f test: adjust debugflag 2022-05-13 16:01:05 +08:00
plum-lihui 265f2a8582 test: add get rows api in test frame 2022-05-12 16:36:08 +08:00
afwerar 30179d48d6 fix(os): TDinternal CI pytest error. 2022-05-10 20:52:00 +08:00
jiacy-jcy 7a1794ce69 Merge branch '3.0' into test/jcy 2022-04-27 14:53:42 +08:00
Ping Xiao c6cc7eff86 test: add client config for test cases 2022-04-27 10:02:22 +08:00
jiacy-jcy 24ac70fc41 update 2022-04-27 08:31:11 +08:00
Ping Xiao ccffe94579 test: add client config for test cases 2022-04-26 18:46:08 +08:00
plum-lihui b790102ffd [test: add sleep for elect leader] 2022-04-22 18:50:21 +08:00
Shuduo Sang 2c1ec0dd10
[TD-13603]<feature>: python connector for 3.0 (#11152)
* add a few stmt_ interface declartion

* add taos_load_table_info

* add taos_set_config(() interface

* add more interfaces

* warn 'reset query cache' only since lack engine support

* update taos-tools
2022-03-31 11:32:23 +08:00
Shuduo Sang 66f31a0077
[TD-14331]<fix>: make util/dnodes.py flexible (#11022)
* [TD-14331]<fix>: make util/dnodes.py flexible

for 3.0

* make getPath clear
2022-03-26 22:49:42 +08:00
Shuduo Sang 43feda0595
[TD-13408]<test>: move tests in for3.0 (#10598)
* restore .gitmodules

* Revert "[TD-13408]<test>: move tests out"

This reverts commit f80a4ca49ff37431bc0bc0dafb5ccf5858b00beb.

* revert f80a4ca49ff37431bc0bc0dafb5ccf5858b00beb

* immigrate file change from stand-alone repo to TDengine

for 3.0

* remove tests repository for Jenkinsfile2

Co-authored-by: tangfangzhi <fztang@taosdata.com>
2022-03-07 19:25:29 +08:00
Shuduo Sang bf5a3e106b
[TD-13408]<test>: move tests out (#10176)
* [TD-13408]<test>: move tests out

for 3.0 branch

* add Jenkinsfile2

Co-authored-by: tangfangzhi <fztang@taosdata.com>
2022-02-10 15:25:50 +08:00
Linhe Huo 2483985d4b
[TD-6449]<fix>: fix python3.6 datetime parsing in pytest util package (#7704) 2021-08-30 23:04:52 +08:00
dapan1121 f9e22c1632
Merge pull request #7512 from taosdata/feature/szhou/schemaless
[schemaless][RunCITest]
2021-08-27 10:29:29 +08:00
Ping Xiao d921a078e8 [ci skip] update cfg key 2021-08-27 09:38:37 +08:00
shenglian zhou 3e8b0e856d Merge branch 'develop' into feature/szhou/schemaless 2021-08-25 17:11:28 +08:00
Haojun Liao 77a920d278
Merge pull request #7437 from taosdata/fix/ZhiqiangWang/TD-6169-windows-dll-client-can-not-quit-problem
[DONT MERGE] [TD-6169]<fix>: windows dll client can not quit.
2021-08-25 14:27:39 +08:00
Shengliang Guan e043b0bb51 Merge from develop 2021-08-24 19:44:10 +08:00
jiajingbin 9126417086 add common.py 2021-08-24 13:06:32 +08:00
afwerar d3af8a9d31 [TD-6169]<fix>: windows dll client can not quit. 2021-08-24 11:05:26 +08:00
afwerar 613bd5c523 [TD-6169]<fix>: windows dll client can not quit. 2021-08-24 10:49:47 +08:00
zhaoyanggh 89b6460064 remove dulplicate init 2021-08-23 16:42:27 +08:00
zhaoyanggh 298f97fe0b remove dulplicate init 2021-08-23 16:38:29 +08:00
Shengliang Guan ea0a43f54e Merge from master into develop 2021-08-19 10:42:42 +08:00
liuyq-617 9f0bbd0cb3 test 2021-08-17 11:26:25 +08:00
liuyq-617 6dac76a70d stop taosd using kill -9 2021-08-17 11:26:17 +08:00
liuyq-617 486446ad8f test 2021-08-16 18:03:24 +08:00
liuyq-617 281b0ea271 stop taosd using kill -9 2021-08-16 16:53:42 +08:00
WANG MINGMING 5a32496f81
Merge branch 'master' into feature/TD-5918 2021-08-12 10:44:50 +08:00
jiajingbin 70f7697406 [TD-5616]like wildcard max_length test--merge to master
add getVariable() to util/sql.py

add 4 testcases to query/queryWildcardLength.py
2021-08-11 19:17:08 +08:00
jiajingbin 52848c4de5 [TD-5923]<test>finish test--->where tbname in UPPER/lower/mIXed
add query/queryTbnameUpperLower.py

add util/common.py for adding common function in case of duplicate use
2021-08-11 14:55:45 +08:00
dapan1121 75fdd8b87f
Merge pull request #7252 from taosdata/fix/TD-5578
[TD-5578]<fix> add show like wild cards max length
2021-08-10 09:41:55 +08:00
jiajingbin dd2c83fc28 [TD-5616]<test>: finish like wildcard max_length test
add getVariable() to util/sql.py

add 4 testcases to query/queryWildcardLength.py

leave a uncorrelated bug ---> TD-5918
2021-08-09 08:29:13 -03:00
Linhe Huo 5823bcfc3b
[TD-3048]<feature>: support lines/stream/query_a/stop_query/ and so on. (#7079)
* [TD-3048]<feature>: support lines/stream/query_a/stop_query/ and so on.

commit 0edc106a76a95b28e65019c2ee4e4ed84530ad35
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Thu Jul 29 21:13:13 2021 +0800

    doc: improve document for python connector

commit 84915de0831b49c8378a16242dd0dbba8aaf386f
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Thu Jul 29 20:35:45 2021 +0800

    chore: add time elapsed

commit 1e8822e01bda96388a359363776792e261260b88
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Thu Jul 29 20:26:01 2021 +0800

    feat: support multi bind

commit 82d823f6194471fd3324b50f7dfba0ee9f10a7dd
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Thu Jul 29 16:42:05 2021 +0800

    feat: python support for async query and subscribe with callback

commit 8b9d36de2945906821225189cb47958e153d81e2
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Wed Jul 28 18:09:09 2021 +0800

    feat: finish stream and stmt interface

commit bc871aa43e9fc28dd1b3f8784a8ac6ee988564b5
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Mon Jul 26 20:21:27 2021 +0800

    feat: basic full-fetured implementations

commit e5f7a5213e9016c377a57485e8d5c12139ce0957
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Fri Jul 23 10:33:14 2021 +0800

    tmp: refactor

* chore: fix insert/line_insert.py error

* [TD-3048]<fix>: fix tests error

* [TD-3049]<feature>: support stop_query in python connector cursor

* [TD-3048]<doc>: improve python connector document

* [TD-3048]<doc>: improve python connection README

* [TD-3048]<hotfix>: fix python2 install and runtime error

* chore: replace insertLines with insert_lines

* chore: fix misspellings

* chore: fix crash gen error in threading

* feat: support __del__ method for simplify

* test: fix subscription test result check

* chore: compatible with 2.0.20

* chore: fix python connector subscription test case

* [TD-3048]<fix>: fix schemaless insert test

* [TD-3048]<fix>: fix memory leak in crash_gen test case

* [TD-3048]<fix>: minor fix for crash gen memory leak

* [TD-3048]<fix>: set minimal required python3 as 3.4

* chore: update version in setup.py

* [TD-3048]<fix>: fix runtime errors in python3.4

* [TD-3048]<fix>: add typing as a dependency
2021-08-07 08:00:37 +08:00
jiajingbin 82cb5fc9cd Merge branch 'develop' of https://github.com/taosdata/TDengine into develop 2021-08-02 15:52:56 +08:00
wenzhouwww 84cbdeb8a7 [TD-5370]<test>:new branch for test case about taosdump nano support 2021-07-27 15:40:24 +08:00
jiajingbin a8352d8c2a [TD-5314]: autotest cases 2021-07-23 01:43:00 +08:00
jiajingbin 8f19dea06d [TD-5229]<fix>: cname display is incomplete
add method in util/sql.py---getColNameList() and checkColNameList

add testcase query/queryCnameDisplay.py
2021-07-15 21:46:34 +08:00
liuyq-617 e7cc15a861 fix retention case error 2021-06-30 16:30:46 +08:00
bryanchang0603 022d6ea765 taosdemoCfg adding how to use and minor bug fix 2021-06-25 15:41:47 +08:00
bryanchang0603 1583f180d4 pytest utils add taosdemoCfg.py 2021-06-23 15:09:59 +08:00
Shuduo Sang 945354280c
Feature/sangshuduo/td 4752 python support ns (#6534)
* [TD-4752]<feature>: python connector support nanosecond.

* [TD-4752]<feature>: support nanosecond in test framework.

return integer for nanosecond in connector since python does not support nanosecond yet.
2021-06-18 18:34:54 +08:00
bryanchang0603 9c1457a3aa [TD-4473] modifying two cases to auto test with minor modification 2021-06-08 11:16:28 +08:00
tickduan d5965c461a must ltime >0 to replace 2021-05-31 15:51:43 +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
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
dapan1121 23f23a445d modify case 2021-04-21 19:36:46 +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
Ping Xiao 31f9b71d82 [TD-1002]<test> add test case for percentile function 2021-03-13 15:05:35 +08:00
liuyq-617 d1ee728376 <test>fix psutil.process error 2021-01-26 16:53:17 +08:00
liuyq-617 a9da437d02 <test>fix some error in python test frame 2021-01-26 16:06:16 +08:00
liuyq-617 0616475e50 [TD-2734]<test>fix timeout error 2021-01-12 16:56:01 +08:00
liuyq-617 037816547b improve taosdStatus 2021-01-12 11:54:06 +08:00
liuyq-617 5746eb5c65 fix dict error 2021-01-11 18:42:31 +08:00
liuyq-617 b66428c33b multi-level 2021-01-11 16:48:50 +08:00
liuyq-617 77cc0b18b7 [TD-2588]<test>sleep more for azure 2021-01-05 14:44:19 +08:00
liuyq-617 4d9887cd71 [TD-2476]<test>enhance test framework 2020-12-17 18:38:21 +08:00
liuyq-617 8e2c3ed3da fix some errors 2020-12-14 14:21:58 +08:00
liuyq-617 36f7685a15 [TD-2348]reduce sleep time 2020-12-12 09:51:04 +08:00
Ping Xiao 585457f6f8 Merge branch 'develop' into xiaoping/add_test_case2 2020-10-29 16:54:17 +08:00
Ping Xiao ddd9b50e24 [TD-1823] <test> add test case for data loss 2020-10-29 16:48:18 +08:00
Ping Xiao 601342b333 [TD-1245]<test> add test case for interval 2020-09-18 10:40:02 +08:00