Commit Graph

2142 Commits

Author SHA1 Message Date
jiajingbin 7450a8584d update 2023-09-01 20:43:56 +08:00
jiajingbin ae100c06e3 update 2023-09-01 20:43:56 +08:00
jiajingbin 91269075c7 test: add stream cases 2023-09-01 20:43:43 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
chenhaoran a0c5d130ae test:repire test case for windows 2023-08-07 18:32:58 +08:00
Hui Li 1bc8c751a5
Merge pull request #22064 from taosdata/test/TD-24996
test:add testcase of rolling upgdade
2023-07-17 10:49:37 +08:00
Alex Duan 9085dac1a2 add create sma index case 2023-07-14 16:31:37 +08:00
chenhaoran f5e3e574ae test:add testcase of rolling upgdade 2023-07-07 16:19:39 +08:00
Shuduo Sang 500493b157
fix: remove -y from taosdump test (#21661)
* fix: remove -y from taosdump test

* fix: taosdumpTestNanoSupport.py
2023-06-09 09:20:43 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
dmchen 0e41f82bb7 test case parameter 2023-05-25 11:26:11 +08:00
Ping Xiao f2b438622a skip some errors 2023-05-24 19:47:56 +08:00
Dingle Zhang 984211f3b4
Feature/3.0 geometry (#21037)
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.

* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling

* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh

* Add a function MakePoint() and introduce a lib geometry

* implement sql functions GeomFromText() and AsText()

* Use GEOS *_r funcions instead for thread safety

* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.

* refactor AsText and MakePoint functions to be like GeomFromText

* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file

* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.

* set number of decimals of WKT to 6

* Implement SQL function Intersects()

* refactor geometry sql functions

* Add geosErrMsgeHandler() to get the GEOS error detail

* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists

* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.

* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.

* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn

* Add prefix "ST_" for all geometry functions

* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile

* Add unit test for geometry lib, only test MakePoint so far

* refactor and enhance existing cases in geomFuncTest

* implement NULL type and NULL value test for geomFuncTest

* add test on geomFromText()

* add unit test on AsText() in geomFuncTest

* combine some makePointFunction test items

* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions

* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content

* add more cases into intersectsFunction test

* Add basic test on geometry in system test

* Add ST_GeomFromText and ST_AsText function test in system test on geometry

* add ST_Intersects function test in system test on geometry

* support to check expectedErrno in system test on geometry

* adjust geomTest unit test and geometry system test

* add geometry data type and functions in doc english version

* implement touchesFunction() in geometry lib
refactor geometry relation functions model

* separate gemFuncTest into several src files

* add unit test on touchesFunction

* support sql function ST_Touches()
add system test on ST_Touches

* add docs for ST_Touches()

* Add ST_Contains()

* Add ST_Covers()

* Add ST_Equals()

* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()

* Add ST_ContainsProperly()

* build on windows

* Merge from 3.0 to 3.0_geometry

* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility

* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()

* add /usr/local/include into include directory

* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
Ping Xiao 7b20d2fa7d update crash_gen 2023-05-22 20:13:32 +08:00
wade zhang 1ade314043
Merge pull request #21325 from taosdata/feat/force-drop-dnode
Feat/force drop dnode
2023-05-19 09:23:54 +08:00
Shuduo Sang c01e0f692c test: fix old pytest to make them pass with 3.0 2023-05-17 21:33:33 -04:00
dmchen 32c6ef4b6e fix ci 2023-05-17 23:09:16 +08:00
Alex Duan 89be6dbdeb test: reset dnodes modify and add test case 2023-05-16 19:07:16 +08:00
Alex Duan 1ccf9ed4ff test: add cluster global tdDnodes 2023-05-16 10:03:18 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
chenhaoran 03594cdf5d Merge branch 'main' of https://github.com/taosdata/TDengine into test/main/TS-3260 2023-05-09 20:13:58 +08:00
chenhaoran 60c6d480f2 test:add testcases of learner in election 2023-05-09 20:13:25 +08:00
Ping Xiao 116f7dbbc7 Merge branch 'main' into test/update_push_message 2023-05-09 18:11:39 +08:00
Ping Xiao 5d643fcf91 Merge branch 'main' into test/update_push_message 2023-05-09 18:04:11 +08:00
Ping Xiao 760ccfd991 update push message 2023-05-06 13:52:19 +08:00
Ping Xiao 5119594584 update push message 2023-05-05 20:11:48 +08:00
Ping Xiao 1e9bca79a4 update crash gen push message 2023-05-05 19:41:45 +08:00
Haojun Liao 72ddd1676d refactor: do some internal refactor. 2023-04-23 13:31:41 +08:00
Alex Duan e03a6c2f35 test: autogen.py remove radom select 2023-04-10 16:45:59 +08:00
Alex Duan 927390f38e test: change random to fixed 2023-04-07 11:00:53 +08:00
Alex Duan 1f953a422d Merge branch '3.0' into test/TD-22889-3.0 2023-03-29 09:32:32 +08:00
Xuefeng Tan cebe53a483
fix: fix test `cast.py` for windows (#20676) 2023-03-28 19:08:43 +08:00
Alex Duan 1434fea2de Merge branch '3.0' into test/TD-22889-3.0 2023-03-24 10:18:14 +08:00
t_max d4a81c11d2 fix: fix check timestamp data 2023-03-23 14:07:43 +08:00
t_max 6e66b74b38 fix: fix check timestamp data 2023-03-23 14:00:48 +08:00
Alex Duan 6345952f88 test: debug python file 2023-03-22 20:30:25 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Xuefeng Tan 449f7115e4
fix: windows test (#20256)
* fix: windows sim test

* fix: windows sim test

* fix: random on windows

* fix: taosd online check

* fix: windows path in python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: make_install.bat

* fix: python test

* fix: jdbc test

* fix: develop test

* fix: develop test

* fix:add log

* test:add win case file

* test:add win case file

* test:add win case file

* fix: python test get taosBenchmark path

* test:add win case file

* test:comment some failed cases in win

* test:add win case file

* test:add win case file

* test:comment some win case file

* test:add some win case file

---------

Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: chenhaoran <haoran920c@163.com>
2023-03-16 10:18:06 +08:00
Haojun Liao 3730ea4b57 test: update the sim to speedup this case and set the tqdebugflag to be 135. 2023-03-02 10:00:00 +08:00
sunpeng 7e8823d594
build: delete TaosConsumer and TaosTmq from taospy (#20076) 2023-02-21 19:00:50 +08:00
Shuduo Sang ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
wangmm0220 b493b8d2e1 fix:cols error because delete json cols value 2023-01-28 10:33:00 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Ping Xiao f14e2ed3f9 update script for crash gen 2022-12-30 18:24:45 +08:00
Alex Duan 6eeddb4b53 add case feature function with loop check data 2022-12-30 15:19:44 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Ping Xiao 3c5f07f70b test: add test cases 2022-12-23 18:39:21 +08:00
Ping Xiao 889872c24d test: update script to stop taosadapter service 2022-12-21 19:31:28 +08:00
chenhaoran a1415183b5 test:modify default vnodes numbers in create clusters 2022-12-16 15:11:02 +08:00
Shuduo Sang 31ae21aab9 fix: merge with 3.0 2022-12-05 15:19:04 +08:00
Shuduo Sang 8c85bda408 fix: disable tmq auto commit callback temporarily 2022-12-05 15:13:03 +08:00
Hui Li d638019a93
Merge pull request #18700 from taosdata/TD-20967
test:comment commit of tmq consumer in crashGen
2022-12-05 15:11:31 +08:00
chenhaoran 2f37e915a0 test: temp commit 2022-12-05 14:41:55 +08:00
chenhaoran 85ff9eaacf test:commit commit of tmq consumer in crashGen 2022-12-05 14:40:46 +08:00
Benguang Zhao f1991ac882 enh: improve runOneLinux and TDTestCase of python test scripts 2022-11-29 17:19:47 +08:00
Shengliang Guan 099b80906f test: adjust cluster case for asan mode 2022-11-28 11:19:02 +08:00
Shengliang Guan 2dc23cdfe5 test: adjust tmqCommon cases 2022-11-27 17:49:23 +08:00
Hui Li b138a30ebd
Merge pull request #18440 from taosdata/test/update_vnode
test/update vnode
2022-11-25 12:30:32 +08:00
wenzhouwww f7c5a82fc8
Update crash_gen_main.py 2022-11-25 10:59:40 +08:00
Shengliang Guan 991795ca6e test: add asan case 2022-11-24 13:52:09 +08:00
wenzhouwww bc40b7d360 update 2022-11-23 22:21:21 +08:00
wenzhouwww ca3c1f7147 add docker run exec script 2022-11-22 16:08:14 +08:00
wenzhouwww cbcdf6e496 Merge remote-tracking branch 'origin/3.0' into test/crash_gen_enh_exec 2022-11-22 16:02:50 +08:00
wenzhouwww ea591977bc
Update crash_gen_main.py 2022-11-22 15:48:47 +08:00
Shengliang Guan dfa88ea4d1
Merge pull request #18285 from taosdata/fix/TD-20530
test: python asan
2022-11-21 10:48:25 +08:00
Hui Li 7dd2af7866
Merge pull request #18004 from taosdata/enh/crash_gen
enh: enh   crash_gen  for 3.0 new functions
2022-11-21 09:43:43 +08:00
wenzhouwww bb6ca0c028
Update crash_gen_main.py 2022-11-21 09:32:51 +08:00
Shengliang Guan 15c0bb9446 test: python asan 2022-11-20 21:26:54 +08:00
Shengliang Guan 40b2d3673b test: python asan 2022-11-20 15:04:44 +08:00
Shengliang Guan 5831efd379 test: adjust asan dir 2022-11-20 12:23:59 +08:00
Shengliang Guan 0464a21d0e test: adjust pytest frame 2022-11-19 22:57:38 +08:00
wenzhouwww@live.cn 0e6481a4a0 update 2022-11-18 15:10:23 +08:00
wenzhouwww@live.cn 9f5a406441 update 2022-11-18 14:59:42 +08:00
wenzhouwww@live.cn 7602e57987 Merge remote-tracking branch 'origin/3.0' into enh/crash_gen 2022-11-18 14:23:49 +08:00
jiacy-jcy 0d7787387b test:add test case for boundary check 2022-11-17 16:58:04 +08:00
wenzhouwww 9c7913b00b
Update crash_gen_main.py 2022-11-16 10:39:37 +08:00
wenzhouwww@live.cn b47052b7af update 2022-11-15 09:12:42 +08:00
wenzhouwww@live.cn 6175929113 update 2022-11-11 13:50:37 +08:00
wenzhouwww@live.cn 4eb5c2cae7 update 2022-11-11 13:49:01 +08:00
wenzhouwww@live.cn 4774696aae update errorno 2022-11-10 20:32:08 +08:00
wenzhouwww@live.cn 20071f09a7 update 2022-11-10 20:23:00 +08:00
wenzhouwww@live.cn 0f8bb6faa7 update enh crash_gen tasks 2022-11-10 20:16:04 +08:00
wenzhouwww@live.cn e48d057f70 update 2022-11-10 18:36:45 +08:00
wenzhouwww@live.cn 119c4c7cab update 2022-11-10 10:38:53 +08:00
wenzhouwww@live.cn 86b5b89531 update 2022-11-10 10:37:16 +08:00
wenzhouwww@live.cn 3e133a8661 updaate 2022-11-10 09:35:22 +08:00
wenzhouwww@live.cn f4aedc9ec2 update tmq subscript 2022-11-10 09:31:18 +08:00
wenzhouwww@live.cn e1ca6a5e9c update 2022-11-09 18:54:21 +08:00
wenzhouwww 30b1c576e1
Update crash_gen_main.py 2022-11-09 18:45:21 +08:00
wenzhouwww@live.cn f6de1a8634 enh crash_gen for 3.0 about [stream processing] , [data subscription] ,[delete data] 2022-11-09 18:42:01 +08:00
wenzhouwww@live.cn 05f0ac62e7 update 2022-11-09 18:32:31 +08:00
wenzhouwww@live.cn dde87a3746 update 2022-11-09 18:21:43 +08:00
wenzhouwww@live.cn 59f50ae8c5 update 2022-11-09 18:08:02 +08:00
Shuduo Sang fd7d0f5928 test: enable telnet_tcp.py case 2022-11-09 14:51:14 +08:00
wenzhouwww@live.cn ca00459abb update 2022-11-08 11:56:18 +08:00
wenzhouwww@live.cn 908f0d719f update 2022-11-08 11:47:00 +08:00
wenzhouwww@live.cn 937631085f update 2022-11-08 11:44:42 +08:00
wenzhouwww@live.cn 7aac106650 update 2022-11-08 10:54:57 +08:00
wenzhouwww@live.cn 8a5427c95b update 2022-11-08 09:41:42 +08:00
wenzhouwww@live.cn 17a502f569 update 2022-11-07 13:44:12 +08:00