Commit Graph

119 Commits

Author SHA1 Message Date
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