Commit Graph

64 Commits

Author SHA1 Message Date
Steven Li a79c5b1278 Minor tweaks for crash_gen tool, re-demonstrating TD-997 2020-07-28 08:34:35 +00:00
Steven Li 7722eb55ea Adjusted crash_gen tool to save old log files, instead of deleting them 2020-07-26 23:32:04 +00:00
Steven Li 032d93b59a tweaked crash_gen tool 2020-07-26 06:04:02 +00:00
Steven Li 91c1fe45b6 Added service restart to crash_gen tool, discovered meter id mismatch problem 2020-07-24 03:15:09 +00:00
Steven Li 943bbe22b8 Enhanced crash_gen tool to report useful info when stuck 2020-07-22 06:31:19 +00:00
Steven Li 9e5ecf885a Minor additional tweaks for crash_gen tool 2020-07-21 07:29:20 +00:00
Steven Li 6b45bc66a5 Temp check in for crash_gen, crashing at tsclient.h:435 2020-07-21 07:23:26 +00:00
Steven Li 44bbeea8a2 Display server and config info at connect time for crash_gen tool 2020-07-15 07:09:15 +00:00
Steven Li 9dadb8f4ea Added mixed connector type for NATIVE/REST for the crash_gen tool 2020-07-15 04:11:13 +00:00
Steven Li d8206d228f refactoring thread synchronization for crash_gen tool 2020-07-14 21:46:01 +00:00
Steven Li a75721ff00 Resolve small conflicts with crash_gen tool 2020-07-11 07:55:06 +00:00
Steven Li 0964bc38de Added warning message upon REST API failure for crash_gen tool 2020-07-11 07:50:30 +00:00
Shuduo Sang 8fe456023e merge develop branch and fix conflict in crash_gen.py. 2020-07-10 14:28:18 +08:00
Steven Li c4ca6c022f Added -x --continue-on-exception option to the crash_gen tool 2020-07-10 02:30:44 +00:00
Steven Li 08bec5fa9b Removed crash_gen dependency on other test code, now it only depends on official Python Taos library 2020-07-10 01:51:56 +00:00
Steven Li 3abcbc306c Added additional protection for crash_gen tool, to capture sys.exit() in lower level libraries 2020-07-09 08:02:05 +00:00
Steven Li f35c6cf3d8 Made crash_gen more tolerable of TAOS exceptions 2020-07-09 07:23:36 +00:00
Steven Li b77728bc0d Refactored service side process management for the crash_gen tool 2020-07-09 03:12:08 +00:00
Shuduo Sang 4efd476268 fix autopep8 format. 2020-07-08 18:28:17 +08:00
Shuduo Sang 2d02ee85a8 merge with develop branch. 2020-07-08 18:26:59 +08:00
Steven Li f0bbd1d32e Allow crash_gen tool to tolerate 0x5 and 0x510 error codes 2020-07-08 08:49:51 +00:00
Shuduo Sang c63f85505d refactor pathfinding in crash_gen.py 2020-07-08 16:31:47 +08:00
Steven Li 095d5a68bf Added the -a option to crash_gen tool to automatically start/stop TDengine service 2020-07-08 08:27:59 +00:00
Steven Li 4360096654 Now crash_gen is able to manage the start/stop/restart of taosd 2020-07-08 06:42:37 +00:00
Shuduo Sang f9c9684b38 add crash_gen to CI
[TD-862]
2020-07-08 10:42:48 +08:00
Steven Li 5686d65bac Added return code to crash_gen tool 2020-07-06 05:10:32 +00:00
Steven Li 5c2b0097a7 Minor tweak of crash_gen tool 2020-07-06 03:33:11 +00:00
Steven Li a519389d38 Now supporting CTRL-C abort in Crash_Gen, plus tracking top numbers 2020-07-03 00:28:26 -07:00
Steven Li 88ac7bb6df Added -c option to Crash_Gen, enabling REST, but encountered error 2020-07-01 22:33:52 -07:00
Steven Li d796aaaa01 Corrected TAOS client error detection 2020-06-30 21:39:53 -07:00
Steven Li 4b4c090557 Tweaked abort message in Crash_Gen tool 2020-06-29 23:02:05 -07:00
Steven Li 30f5a202f9 Corrected connection-shared-by-thread flag in Crash_Gen 2020-06-29 20:05:31 -07:00
Steven Li 6cb97b3730 Discovered Python client problem, ready to file JIRA 2020-06-28 21:22:21 -07:00
Steven Li fcbe6c154d Adjusted crash_gen to examine returned error codes 2020-06-27 21:10:15 -07:00
Steven Li 1be46ac76f Now able to run without parameter, also refactored to run service binary 2020-06-26 21:18:34 -07:00
Steven Li 23ed5e24b0 Refactored crash_gen, extracted logic to create StateMachine class 2020-06-25 22:17:18 -07:00
Steven Li 5f979568e1 Refactored and cleaned up crash_gen tool, ready to add sub-state transitions 2020-06-24 21:59:13 -07:00
Steven Li 815cb83904 Added -r option for crash_gen.sh, recording data opersions, for power-off tests 2020-06-12 23:56:53 -07:00
Steven Li 7dd6e6a442 removed a check condition from crash_gen 2020-06-11 18:50:49 -07:00
Steven Li c6b71abc46 Minor tweak of crash_gen script 2020-06-10 00:11:50 -07:00
Steven Li 511953665d Removed crash_gen check conditions not suited for larger (10-thread) parallel processing tests 2020-06-09 23:40:10 -07:00
Steven Li ac1fb970d5 Added overlaping data insertion, plus occasional db connection drops 2020-06-09 21:30:23 -07:00
Steven Li 2e2a3f10e1 Added the -l option to crash_gen tool, writing larger amount of data 2020-06-08 23:58:09 -07:00
Steven Li 5580212d04 Added errno to Python client, plus minor tweaks 2020-06-08 17:37:31 -07:00
Steven Li a6e2ef7b46 Changed TICKS generation, added debugging code to improve coverage 2020-05-31 23:59:08 -07:00
Steven Li 2e2053f306 Added a temp hack to increase test coverage 2020-05-31 21:50:41 -07:00
Steven Li 580560313c Adjusted verification for larger number of parallel tasks 2020-05-30 23:41:29 -07:00
Steven Li 467ca437bb Found invalid pointer access with -t 2 -s 5 2020-05-29 15:48:11 -07:00
Steven Li 404797b5b4 Re-created TD-437 2020-05-28 15:09:45 -07:00
Steven Li c0a5f61f78 Found server crash bug TD-437 2020-05-27 16:08:21 -07:00