Commit Graph

28 Commits

Author SHA1 Message Date
Shuduo Sang 61d5f6ff2a
feat(tools): demoapi implemented normal insert/query (#11553)
* [TD-13558]<feature>: taos shell refactor

add taosTools as submodule

* add tools/taos-tools

* add more client interface for taosTools compile

* update taos-tools

* update taos-tools

* refactor shell

* [TD-13558]<feature>: taos shell test speed

* [TD-13558]<feature>: taos -n startup works

* taos -n rpc works

* taos -n server works

* cleanup code since no endPort in 3.0

* update taos-tools

* [TD-13558]<feature>: taos -C works

* improve taos shell -c WIP

* update taos-tools

* add demoapi.c

* adjust show databases result for 3.0

* test: add platform logic

* add nchar

* adjust taos_fetch_lengths

* print fields

* remove show databases check from insert cases

* fix lua example compile for 3.0

still not work

* remove lua.py from smoketest

* use get_column_data_offset() to get offset and convert length
2022-04-16 12:18:07 +08:00
Shuduo Sang 30799e59ce
test: remove show databases check from insert cases (#11508)
* [TD-13558]<feature>: taos shell refactor

add taosTools as submodule

* add tools/taos-tools

* add more client interface for taosTools compile

* update taos-tools

* update taos-tools

* refactor shell

* [TD-13558]<feature>: taos shell test speed

* [TD-13558]<feature>: taos -n startup works

* taos -n rpc works

* taos -n server works

* cleanup code since no endPort in 3.0

* update taos-tools

* [TD-13558]<feature>: taos -C works

* improve taos shell -c WIP

* update taos-tools

* add demoapi.c

* adjust show databases result for 3.0

* test: add platform logic

* add nchar

* adjust taos_fetch_lengths

* print fields

* remove show databases check from insert cases
2022-04-14 23:39:14 +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
Jun Li b79839b5c9
Change pyhon3.8 to python3 for compatability with 3.x (#6489) 2021-06-15 10:21:38 +08:00
robotspace 68aeccbe7f
Add support for async insert and connection pool. (#6244)
* Add support for async query. Only insert result is parsed.

* Add support for connection pool.

* Add one case for lua connector in smoke test case list.

* Build dymanic library for lua connector before smoke test.
2021-06-01 13:35:19 +08:00
Shuduo Sang 2670b0ad65
Hotfix/sangshuduo/td 4025 fix travis ci broken for develop (#5975)
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

cherry pick from master.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 10:20:16 +08:00
Shuduo Sang 7c66719128 add python test to cover "alter dnode"
[TD-868]
2020-07-07 14:42:27 +08:00
Shuduo Sang bee633127c remove some pytest cases from smoke test.
[TD-786]
2020-06-29 14:35:43 +08:00
Shuduo Sang 4d8fb3b91b add client/client.py to test client functions.
[TD-725]
2020-06-22 18:41:50 +08:00
Shengliang Guan 382805e455
Merge pull request #2085 from taosdata/hotfix/sangshuduo/fix-test-script-as-jeff-suggestions
Hotfix/sangshuduo/fix test script as jeff suggestions
2020-06-01 09:43:34 +08:00
Shuduo Sang 9ea0e2f770 fix test scripts according to jeff's suggestion. 2020-05-31 13:54:46 +08:00
Ping Xiao 34e345e4d8 Remove failed test from smoketest 2020-05-31 11:34:07 +08:00
Ping Xiao 47c63e89e6 1.Merge branch 'develop' into filterComboTest
2.Add query error cases
3.Add normal query cases
3.Add query cases with multiple filters
2020-05-25 20:37:43 +08:00
Ping Xiao 3070277c56 Merge branch 'develop' into filterComboTest 2020-05-23 16:59:04 +08:00
Ping Xiao 9daf6a9d54 query with and/or/illegal filter 2020-05-23 14:23:00 +08:00
Shuduo Sang 231df632bd change forcestop() to stop() to emulate ctrl-c 2020-05-22 15:42:10 +08:00
Ping Xiao 9a6e854748 add test cases for filters 2020-05-21 19:32:13 +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 221ae2dc5d remove importCacheFileT.py as not consistant result for now. 2020-05-15 16:45:07 +08:00
Shuduo Sang d6640af67c reduce testcase less to reduce smoketest time. 2020-05-11 12:02:48 +08:00
Shuduo Sang 224496954f fix issue pytest stop dnode by pkill. 2020-05-09 19:14:33 +08:00
Shuduo Sang 6383fc6fdf add more cases to smoketest.sh 2020-05-09 01:09:04 +08:00
Shuduo Sang e37bd64792 change all files. 2020-05-07 18:21:18 +08:00
Shuduo Sang 4191754f24 fix test.py to support steven's case 2020-05-01 18:15:38 +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 fd76b5f71d port import_merge python testcase for 2.0
[TD-205]
2020-04-27 14:49:18 +08:00