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