Commit Graph

76 Commits

Author SHA1 Message Date
Steven Li 89b3b79124 Added last_row() and spread() functions to crash_gen tool 2020-09-03 00:25:03 +00:00
Steven Li f07cde6528 Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-09-02 19:01:31 +00:00
Steven Li d18b1e9339 Fixed port number for crash_gen tool 2020-09-02 19:00:52 +00:00
root 79833f924e minor changes 2020-09-02 17:42:53 +08:00
Steven Li 2c6c3775ed Fixed a major problem in crash_gen tool, now it properly releases DB connections 2020-08-30 02:47:50 +00:00
Steven Li 4d122b7adb Adjusted crash_gen tool to re-connect after server restart disruption 2020-08-27 05:04:27 +00:00
Steven Li 2b74699d35 Adjusted crash_gen tool to tolerate non UTF8 server output 2020-08-27 04:47:43 +00:00
Steven Li 43bbbfd866 Crash_gen tool minor tweaks, hoping to run 10x5000 with -a option 2020-08-27 03:58:53 +00:00
Shengliang Guan 72352f0367 TD-1205 add error code to crash_gen.py 2020-08-24 10:04:04 +08:00
Steven Li 061a2161ff Adjusted crash_gen tool to accommodate new default database called log 2020-08-07 02:55:41 +00:00
Steven Li a53aafeef4 Crash_gen tool is now tracking TDengine service exit status 2020-08-01 23:35:36 +00:00
Steven Li fc1cfb56e7 now able to replicate TD-1038 2020-08-01 05:29:00 +00:00
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