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
Ping Xiao
3a58f9f4a9
fix test failures
2020-09-14 23:46:50 +08:00
Ping Xiao
0f7b3ce040
[TD-1290]<test> add test case for group by
2020-09-07 15:52:41 +08:00
Shuduo Sang
3c4e3322bb
support telemetryReport in all tests.
2020-08-04 10:34:22 +08:00
Bomin Zhang
ca9c0ad282
TD-1033: enable telemetry reporting by default
...
disable telemetry reporting in test.
fix other telemetry related bugs.
2020-08-03 11:31:14 +08:00
Shengliang Guan
1fe3dbebfb
set telemetryReporting default val to false
2020-08-02 11:48:42 +00:00
Shuduo Sang
872edbd075
change more KILL signal to TERM for coverage test.
2020-07-25 14:31:31 +08:00
Ping Xiao
a9cf6cfd2c
update kill parameter for python tests
2020-07-24 16:40:05 +08:00
Bomin Zhang
f6c113954c
td-990: add python test cases for subscribe
2020-07-24 15:44:40 +08:00
Ping Xiao
43b2f41fbb
TD-819: increase test coverage
2020-07-21 16:24:59 +08:00
Shengliang Guan
6309c8efdb
scripts
2020-07-17 15:16:32 +00:00
Shuduo Sang
964ae6073f
add fsync default cfg to no-random-fail.py too.
2020-07-15 17:17:45 +08:00
Shuduo Sang
7652edf906
Merge branch 'develop' into hotfix/sangshuduo/add-fsync-to-default-cfg
2020-07-15 17:06:28 +08:00
Shuduo Sang
395ad45bc3
add fsync 1000 as default cfg value.
2020-07-15 15:32:19 +08:00
Shuduo Sang
853f411c0d
add -no-random-fail script for coverage test using.
2020-07-15 14:42:06 +08:00
Shengliang Guan
1c40d471ae
[TD-913] change some config paras
2020-07-13 15:39:45 +08:00
Shengliang Guan
d75e835aa5
Merge from develop into feature/vnode
2020-07-10 10:40:47 +00:00
Shuduo Sang
e98dbee81d
add --random-file-fail-factor argument to cover more scenarios.
2020-07-10 13:47:03 +08:00
Shengliang Guan
71b13e2359
Merge pull request #2615 from taosdata/feature/sangshuduo/test-compressMsgSize
...
add test case for compressMsgSize
2020-07-09 20:02:22 +08:00
Shuduo Sang
11923eb970
add test case for compressMsgSize
...
[TD-764]
2020-07-09 18:43:02 +08:00
Shuduo Sang
83363f6e78
re-raise exception in sql.py instead of exit.
2020-07-09 17:45:48 +08:00
Shengliang Guan
057fdc9366
Merge develop into feature/vnode
2020-07-09 09:10:27 +00:00
Bomin Zhang
9ab3b63a10
refactor pytest framework to include lineno in log
2020-07-09 10:45:46 +08:00
Shengliang Guan
92a569ca12
merge from develop into feature/vnode
2020-07-08 15:06:25 +00:00
Shuduo Sang
d2b805f3a5
fix pathfinding for CI
2020-07-08 16:19:01 +08:00
Shuduo Sang
85ddff090a
refactor pathfinding in util/dnodes.py
2020-07-08 15:23:37 +08:00
Shuduo Sang
7c66719128
add python test to cover "alter dnode"
...
[TD-868]
2020-07-07 14:42:27 +08:00
Shengliang Guan
f50306de89
scripts
2020-07-04 07:17:48 +00:00
Shuduo Sang
d5b1978e9f
fix importDataLastSub.py failed with valgrind.
...
[TD-827]
2020-07-03 00:21:02 +08:00
Ping Xiao
dde667116c
TD-775: Remove numpy dependency from sql.py
2020-06-29 13:18:22 +08:00
Shuduo Sang
2591b98809
support queue in multi-thread version.
2020-06-24 10:09:17 +08:00
liu0x54
9e24388528
merge
2020-06-16 10:10:49 +00:00
liu0x54
654f5aad26
for pass pytest
2020-06-16 10:08:49 +00:00
Shuduo Sang
5761e2aa77
modify format by autopep8.
2020-06-16 16:36:14 +08:00
Ping Xiao
1d6edcfed8
[TD-350]: sort test case for both columns and tags all - supporting types
2020-06-13 13:48:53 +08:00
Shuduo Sang
aaba26a52e
fix issue that dnodes reploy delete psim log file
...
[TD-561]
2020-06-08 11:27:28 +00:00
Shuduo Sang
9ccf152f42
make pytest support both TDinternal and community
...
[TD-555]
2020-06-08 16:50:42 +08:00
Shuduo Sang
2c4482d7bc
refactor multi-threading random test cases.
2020-06-06 18:57:02 +08:00
Shuduo Sang
9ea0e2f770
fix test scripts according to jeff's suggestion.
2020-05-31 13:54:46 +08:00
Shengliang Guan
b825a904c7
scripts after change numOfMpeers to numOfMnodes
2020-05-29 15:31:36 +00:00
Shengliang Guan
3528ed61d0
[TD-335] rename mgmt to mnode
2020-05-28 07:09:53 +00:00
Shuduo Sang
9560f319b2
add insert/sparseData.py to test compressing sparse file content.
...
[TD-412]
2020-05-25 16:12:49 +08:00
Bomin Zhang
8bf4ef21fa
fix td-317: max table name length now is 392
2020-05-23 15:00:22 +08:00
Shuduo Sang
cf4c4e98fd
support log Sql command to file.
...
[TD-383]
2020-05-21 16:12:15 +08:00
Shuduo Sang
0280f36664
add few more cases and support check data type in connector.
2020-05-20 14:17:40 +08:00
Shuduo Sang
8fb55429e4
add more tag cases.
2020-05-19 19:30:59 +08:00
Shuduo Sang
5b439a5122
add tag_lite/filter.py
...
[TD-351]
2020-05-18 18:47:07 +08:00
Shuduo Sang
7f4742ba97
refine killing exist daemon.
2020-05-17 19:11:14 +08:00
Shuduo Sang
8de5e86d76
sleep more to wait dnode start for valgrind env.
2020-05-17 12:35:42 +08:00
Shuduo Sang
05a289d866
make failed msg friendly.
2020-05-16 11:35:31 +08:00
Shuduo Sang
b4b092b488
add random test.
2020-05-15 19:06:41 +08:00
Shuduo Sang
5868f3459c
reduce python test case output.
2020-05-15 16:00:26 +08:00
Shuduo Sang
2f7644b465
fix autopep8 format.
2020-05-15 13:27:31 +08:00
Shuduo Sang
b814a46320
make python test framework detect TDinternal and TDengine automatically.
...
[TD-328]
2020-05-14 19:43:14 +08:00
Shuduo Sang
5883ed6e73
sleep 4 sec to wait dnodes start.
2020-05-11 13:52:08 +08:00
Shuduo Sang
224496954f
fix issue pytest stop dnode by pkill.
2020-05-09 19:14:33 +08:00
Shuduo Sang
269d15c485
fixup: change default charset to UTF-8
2020-05-09 11:25:27 +08:00
Shuduo Sang
e2a9b1c28d
fix binary.py and util/sql.py to support binary test
...
[TD-167]
2020-05-05 18:40:13 +08:00
Shuduo Sang
ce6e0741c3
reduce CI output to make the log clear.
...
[TD-214]
2020-04-30 10:57:07 +08:00
Shuduo Sang
24cd95250e
add date.py and binary.py to 2.0
2020-04-27 17:21:04 +08:00
Shuduo Sang
2777a2f0c9
fix python source code for pep8 standard.
2020-04-27 15:23:15 +08:00
Shuduo Sang
238879bc80
add None type support in sql.py.
2020-04-26 16:09:12 +08:00
Shuduo Sang
ad519de25f
refine python testcases.
2020-04-25 23:14:05 +08:00
Shuduo Sang
c4eed9ec69
expose more info if case failed.
2020-04-25 00:43:05 +08:00
Shuduo Sang
46a7c3c912
add insert/int.py and insert/float.py to test insert function.
...
[TD-167]
2020-04-24 23:54:39 +08:00
Shuduo Sang
fefccc3adb
make python test framework dynamically load module
...
with filename script pass
[TD-179]
2020-04-22 18:24:53 +08:00
Shuduo Sang
ba6cf0dd9b
add valgrind test support. current threshold is 23.
...
[TD-138]
2020-04-21 11:29:36 +08:00
Shuduo Sang
8863766f73
make print output be python2 and python3 compatible.
2020-04-14 11:02:01 +08:00
Shuduo Sang
9d13fd243b
Upgrade Python to 3 instead of 2 for testcase development.
...
[TD-139]
2020-04-11 04:15:36 +08:00
Shuduo Sang
e7f46e4a1c
add simplest python testcase for 2.0
...
[TD-128]
2020-04-11 16:12:47 +08:00