Commit Graph

1972 Commits

Author SHA1 Message Date
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
Shengliang Guan fdad406eef Merge pull request #2024 from taosdata/feature/query
Feature/query
2020-05-25 16:15:08 +08:00
Shuduo Sang 9560f319b2 add insert/sparseData.py to test compressing sparse file content.
[TD-412]
2020-05-25 16:12:49 +08:00
Steven Li 636249571b Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-24 15:15:20 -07:00
Steven Li 5b4e7a6d54 refactoring, added exec stats, re-orged task/state relationships 2020-05-24 15:15:05 -07:00
Steven Li 2416465519 fixed a few bugs in state transition checks 2020-05-24 00:47:58 -07:00
Ping Xiao 3070277c56 Merge branch 'develop' into filterComboTest 2020-05-23 16:59:04 +08:00
Bomin Zhang 8bf4ef21fa fix td-317: max table name length now is 392 2020-05-23 15:00:22 +08:00
Ping Xiao 9daf6a9d54 query with and/or/illegal filter 2020-05-23 14:23:00 +08:00
Shuduo Sang 65448271bb add randome insert many records with NULL then commit. 2020-05-22 19:14:25 +08:00
Shuduo Sang 231df632bd change forcestop() to stop() to emulate ctrl-c 2020-05-22 15:42:10 +08:00
Shuduo Sang 8f464b418a add test case to test insert then import scenario. 2020-05-22 14:45:47 +08:00
Shengliang Guan 2d872feb87
Merge pull request #1982 from taosdata/feature/pytest-output-sql-command-to-file
Feature/pytest output sql command to file
2020-05-22 12:02:27 +08:00
Ping Xiao 1b200aff7c Add filter.py into fulltest 2020-05-22 10:59:01 +08:00
Ping Xiao 9a6e854748 add test cases for filters 2020-05-21 19:32:13 +08:00
Shuduo Sang f7181a5e04 add function to delete data files. 2020-05-21 18:05:29 +08:00
Shuduo Sang c736e05cea fix import_merge/importToCommit.py path issue. 2020-05-21 18:03:37 +08:00
Shuduo Sang cf4c4e98fd support log Sql command to file.
[TD-383]
2020-05-21 16:12:15 +08:00
Shuduo Sang ad89a82545 change max cache value from 512 to 128. 2020-05-20 17:58:19 +08:00
Shuduo Sang de8cebf390 fixup: fix fuser call. 2020-05-20 15:34:15 +08:00
Shuduo Sang 721c1cc4f3 add fuser -k -n tcp 6030 to release network port. 2020-05-20 15:04:42 +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
Steven Li a72218378f Dicovered unpected database operation result, with ./crash_gen.sh -p -s 100 -t 3 -d 2020-05-19 00:44:14 -07:00
Steven Li e1ee02e326 Ready to merge crash_gen into develop branch 2020-05-18 17:43:37 -07:00
Steven Li 80d2552808 merged from develop 2020-05-18 16:50:31 -07:00
Shuduo Sang 5b439a5122 add tag_lite/filter.py
[TD-351]
2020-05-18 18:47:07 +08:00
Shuduo Sang 904609e6a2 Merge branch 'develop' into feature/add-tag-and-alter-table-cases 2020-05-18 18:06:18 +08:00
Shengliang Guan 1df78caee8
Merge pull request #1941 from taosdata/hotfix/sleep-more-to-wait-dnode-for-valgrind
Hotfix/sleep more to wait dnode for valgrind
2020-05-17 22:52:22 +08:00
Shuduo Sang 094d21c9ab make valgrind.sh take -g as default. 2020-05-17 19:17:45 +08:00
Shuduo Sang 7f4742ba97 refine killing exist daemon. 2020-05-17 19:11:14 +08:00
Shuduo Sang 71931eb183 add tablename-boundary.py 2020-05-17 16:06:14 +08:00
Shuduo Sang 8de5e86d76 sleep more to wait dnode start for valgrind env. 2020-05-17 12:35:42 +08:00
Bomin Zhang d939f382a3 Merge remote-tracking branch 'origin/develop' into feature/boundary-check 2020-05-16 17:40:52 +08:00
Shuduo Sang 94f4e9bb38 add column name length case. 2020-05-16 15:24:43 +08:00
Shuduo Sang 05a289d866 make failed msg friendly. 2020-05-16 11:35:31 +08:00
Bomin Zhang 9570328908 TD-333: boundary check 2020-05-16 11:03:27 +08:00
Shuduo Sang b4b092b488 add random test. 2020-05-15 19:06:41 +08:00
Shuduo Sang 5b3c019f74 Merge branch 'develop' into feature/add-testcase-to-test-boundary 2020-05-15 18:40:16 +08:00
Shuduo Sang 84cc10bf28 add max column number check case. 2020-05-15 18:33:06 +08:00
Shuduo Sang 221ae2dc5d remove importCacheFileT.py as not consistant result for now. 2020-05-15 16:45:07 +08:00
Shuduo Sang 5868f3459c reduce python test case output. 2020-05-15 16:00:26 +08:00
Shuduo Sang 56bf37bea8 add new cases to fulltest.sh 2020-05-15 14:05:03 +08:00
Shuduo Sang 2f7644b465 fix autopep8 format. 2020-05-15 13:27:31 +08:00
Shuduo Sang 35f5a2045d read boundary value from taosdef.h 2020-05-15 13:17:12 +08:00
Shuduo Sang 9e031188bd Merge branch 'develop' into feature/add-testcase-to-test-boundary 2020-05-15 11:48:07 +08:00
Shengliang Guan 0b61594405
Merge pull request #1917 from taosdata/feature/pytest-support-TDinternal
make python test framework detect TDinternal and TDengine automatically.
2020-05-14 21:54:16 +08:00
Shuduo Sang b814a46320 make python test framework detect TDinternal and TDengine automatically.
[TD-328]
2020-05-14 19:43:14 +08:00
Shuaiqiang Chang f45bf7705f test: add stable/insert.py;query/query.py 2020-05-14 18:47:57 +08:00
Shuduo Sang 995f90d4c1 add tag test cases. 2020-05-14 17:50:42 +08:00
Shuduo Sang bc5abd0f2f add some test cases to test boundary which defined in inc/taosdef.h
[TD-221]
2020-05-14 14:42:35 +08:00
Steven Li 0effa3760a Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-13 18:17:25 -07:00
changshuaiqiang 536a1ed4fa test: docs 2020-05-13 18:55:34 +08:00
changshuaiqiang f95f9ac8c0 test: add create table as select case 2020-05-13 18:52:46 +08:00
changshuaiqiang b320961643 test: add cases 2020-05-13 17:03:38 +08:00
Steven Li bec47687f5 Merge branch 'develop' into feature/crash_gen 2020-05-12 18:37:50 -07:00
Shengliang Guan b3a1070be6
Merge pull request #1889 from taosdata/hotfix/increase-valgrind-threshold-to12
Hotfix/increase valgrind threshold to12
2020-05-12 18:47:59 +08:00
Shuduo Sang 825dc09433 fixup: typo. 2020-05-12 17:23:13 +08:00
Shuduo Sang 08c18e5773 reduce test case to accelerate valgrind time. 2020-05-12 16:18:48 +08:00
changshuaiqiang 294b42661f test: add del stable case 2020-05-12 15:30:47 +08:00
Shuduo Sang c815a1b20d add tag and alter-table cases.
[TD-280]
2020-05-11 21:25:48 +08:00
Shengliang Guan fe39658b4e
Merge pull request #1875 from taosdata/hotfix/change-tables-to-maxtables-according-to-liao
change tables to maxtables according to Dr. Liao
2020-05-11 20:00:28 +08:00
Shuduo Sang 7b2be379f8 integer division yields float in python3.
[TD-277]
2020-05-11 18:13:30 +08:00
Shuduo Sang 0f7690b95a change tables to maxtables according to Dr. Liao
[TD-274]
2020-05-11 17:32:53 +08:00
Shuduo Sang 5883ed6e73 sleep 4 sec to wait dnodes start. 2020-05-11 13:52:08 +08:00
Shuduo Sang d6640af67c reduce testcase less to reduce smoketest time. 2020-05-11 12:02:48 +08:00
Steven Li b52b452972 Merge branch 'develop' into feature/crash_gen 2020-05-09 16:07:45 -07:00
Shuduo Sang 224496954f fix issue pytest stop dnode by pkill. 2020-05-09 19:14:33 +08:00
chang 08a816fc2d feat: add user test case 2020-05-09 18:10:11 +08:00
Shuduo Sang 269d15c485 fixup: change default charset to UTF-8 2020-05-09 11:25:27 +08:00
Steven Li dcb1155481 Discovered TD-256 with params: -p -d -t 10 -s 20 2020-05-08 17:40:43 -07:00
Steven Li 6623cb6395 Discovered TD-255 crash with params: -p -s 50 -t 10 2020-05-08 16:46:34 -07:00
Shuduo Sang 118144968a add insert/nchar.py 2020-05-09 01:13:56 +08:00
Shuduo Sang 6383fc6fdf add more cases to smoketest.sh 2020-05-09 01:09:04 +08:00
Steven Li a3671929fb successfully discovered TD-250 crash bug, with params: -p -d -s 3 -t 3 2020-05-08 00:36:00 -07:00
Steven Li 58153639c5 Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-07 17:39:33 -07:00
Shuduo Sang e37bd64792 change all files. 2020-05-07 18:21:18 +08:00
Shuduo Sang 5fa4d34533 change rows to maxrows in testcase script to match 2.0's change.
[TD-248]
2020-05-07 17:19:15 +08:00
Steven Li e602795982 Merge branch 'develop' into feature/crash_gen 2020-05-07 00:33:55 -07:00
hjxilinx 6e8f30554f [td-183] merge with develop branch 2020-05-07 14:34:55 +08:00
hjxilinx 31029ee27f [td-183] 2020-05-07 14:28:39 +08:00
Shuduo Sang 638f7b4afb fixup. 2020-05-05 18:45:05 +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
Steven Li f08e9b082d now able to fan out conflicting tasks, and detect incorrect results 2020-05-05 00:20:29 -07:00
Steven Li 5d14a74528 Refactored to use ThreadCoordinator and TaskExecutor, added command line parameters 2020-05-04 22:23:27 -07:00
Steven Li cc93971b67 Fixed a barrier problem, now main/worker thread sync correctly 2020-05-03 19:08:03 -07:00
Steven Li 2d76c46756 Added per-thread-db-connection option, after getting Python argparse 2020-05-03 17:28:18 -07:00
Steven Li e98867baef Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-02 19:46:50 -07:00
Shuduo Sang 4191754f24 fix test.py to support steven's case 2020-05-01 18:15:38 +08:00
Steven Li 897cfafcf4 added a missing file 2020-05-01 00:12:36 -07:00
Steven Li 8c64960e4c Minor adjustments before sharing with Jeff 2020-05-01 00:01:34 -07:00
Steven Li 1d1a027d04 Merge branch 'develop' into feature/python-test-no-sudo 2020-04-30 15:12:13 -07:00
Shuduo Sang 491d3d2de6 add table/* test cases. 2020-04-30 11:15:47 +08:00
Shuduo Sang ce6e0741c3 reduce CI output to make the log clear.
[TD-214]
2020-04-30 10:57:07 +08:00
Steven Li 742005e860 Merge remote-tracking branch 'origin/develop' into feature/python-test-no-sudo 2020-04-28 00:13:05 -07:00
Steven Li 6768ae81a6 Now each WorkerThread provides its own SQL execution, but still using a shared db connection 2020-04-28 00:12:53 -07:00
Shuduo Sang 24cd95250e add date.py and binary.py to 2.0 2020-04-27 17:21:04 +08:00
Steven Li 884e7fe635 Recreated the tscServer.c:312 crash 2020-04-27 02:03:11 -07:00
Steven Li dc2b3437bd Recreated the tscServer.c:312 crash 2020-04-27 01:58:05 -07:00
Steven Li 73bdaae15c Now using Python barriers and events to sync threads 2020-04-27 01:52:23 -07:00
Shuduo Sang 2777a2f0c9 fix python source code for pep8 standard. 2020-04-27 15:23:15 +08:00
Shuduo Sang fd76b5f71d port import_merge python testcase for 2.0
[TD-205]
2020-04-27 14:49:18 +08:00
Steven Li 73b41cb437 Merge remote-tracking branch 'origin/develop' into feature/python-test-no-sudo 2020-04-26 19:13:33 -07:00
Shuduo Sang 238879bc80 add None type support in sql.py. 2020-04-26 16:09:12 +08:00
Shuduo Sang 1971c6301a Merge branch 'develop' into add-insert-testcase-to-2.0 2020-04-26 15:31:43 +08:00
Shuduo Sang 48c0684ed5 add bigint bool double smallint tinyint cases. 2020-04-26 15:31:39 +08:00
Shuduo Sang ad519de25f refine python testcases. 2020-04-25 23:14:05 +08:00
localvar 32d5fc5451 Merge remote-tracking branch 'origin/develop' into feature/tbname2 2020-04-25 14:32:11 +08:00
localvar c597c8ad58 TD-97: fix bug and update testcases 2020-04-25 10:02:16 +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
localvar a9e6abc09f TD-97: add test case 2020-04-24 18:08:18 +08:00
Steven Li 741ba77cb2 Now using deterministic dice 2020-04-23 01:15:14 -07:00
Steven Li 52ceb2a9e7 Merge branch 'develop' into feature/python-test-no-sudo 2020-04-22 16:33:55 -07:00
Steven Li dad9f027e3 minor tweak 2020-04-22 15:46:54 -07: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
Steven Li 772c47a121 Now able to run Python test against local server, without sudo/root privileges 2020-04-18 20:35:01 -07:00
slguan 8cf8f8f8fe Merge pull request #1618 from taosdata/feature/mpeer
Feature/mpeer
2020-04-16 11:34:38 +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