Commit Graph

49 Commits

Author SHA1 Message Date
plum-lihui 534dfae907 [test: set days to 300 for default db] 2022-05-18 22:06:59 +08:00
plum-lihui 265f2a8582 test: add get rows api in test frame 2022-05-12 16:36:08 +08:00
jiacy-jcy 24ac70fc41 update 2022-04-27 08:31:11 +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 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
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
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
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
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
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
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 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
Ping Xiao 585457f6f8 Merge branch 'develop' into xiaoping/add_test_case2 2020-10-29 16:54:17 +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
Ping Xiao 43b2f41fbb TD-819: increase test coverage 2020-07-21 16:24:59 +08:00
Shuduo Sang 83363f6e78 re-raise exception in sql.py instead of exit. 2020-07-09 17:45:48 +08:00
Bomin Zhang 9ab3b63a10 refactor pytest framework to include lineno in log 2020-07-09 10:45:46 +08:00
Shuduo Sang 7c66719128 add python test to cover "alter dnode"
[TD-868]
2020-07-07 14:42:27 +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
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 05a289d866 make failed msg friendly. 2020-05-16 11:35:31 +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 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 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 e7f46e4a1c add simplest python testcase for 2.0
[TD-128]
2020-04-11 16:12:47 +08:00