Commit Graph

308 Commits

Author SHA1 Message Date
Tienan Chen 29c9e6dd4e remove comment 2013-11-19 14:56:35 +08:00
Tienan Chen 8cc9e17257 remove a warning 2013-11-19 14:50:54 +08:00
Tienan Chen 0591a35e22 adjust the report and remove some bugs 2013-11-19 14:50:24 +08:00
Tienan Chen c75675145a change a class address 2013-11-18 09:10:49 +08:00
Tienan Chen b60b33ab79 refactor the runTestPlanWithTestPlanModel 2013-11-18 09:03:25 +08:00
Tienan Chen 479444691f edit a function's name 2013-11-18 08:28:52 +08:00
Tienan Chen a59032b9cf add timer support 2013-11-14 20:04:27 +08:00
Tienan Chen c5fa153a1b remove a bug when judge whether finish test plan 2013-11-14 17:41:43 +08:00
Tienan Chen 155a19561b update the statistics of the brief status 2013-11-14 16:23:10 +08:00
xiaoran 0561906a88 fix the save script bug. 2013-11-08 21:57:36 +08:00
xiaoran ba51cd979a add logger 2013-11-07 16:41:25 +08:00
xiaoran 79010d1a1e edit logger 2013-11-07 16:25:10 +08:00
Tienan Chen 40f530736d add a log when unmarshal the script 2013-11-07 15:36:08 +08:00
Tienan Chen da85792251 remove a bug when brief 2013-11-06 20:23:10 +08:00
Tienan Chen 70524689a3 refactor SubstituteOnBoard 2013-11-06 18:03:40 +08:00
Tienan Chen 9adaf27722 refactor and remove redundant code 2013-11-06 13:38:23 +08:00
Tienan Chen caeccbb6ff make a TaskCompleteCallback, and let the testPlanRunner do the cleanUp
job
2013-11-06 09:41:02 +08:00
Tienan Chen 8629eab282 refactor testplan's current status from static byte to enum 2013-11-05 16:06:29 +08:00
Tienan Chen 37b0afa18c add maxAvailableLoad and currentAvailableLoad to HA, and let it can do
the task queue matter and can return enough message if it can't execute
it
2013-11-05 11:09:04 +08:00
Tienan Chen 427f4780a8 refactor test plan in database, and add a column named "failTimes" for
task queue
2013-11-05 10:30:41 +08:00
Tienan Chen 0bc53295b5 add a fault tolerance skeleton to be filled 2013-11-05 09:37:10 +08:00
Tienan Chen 19b789d00e let the scriptSchedule do the backLoadToAgent funtion 2013-11-04 21:15:10 +08:00
Tienan Chen d7a4d6441d refactor, and move judging the script isFinish method to ExecuteOverTask 2013-11-04 17:28:09 +08:00
Tienan Chen 8aaa832226 in addAgentToPool, not only add to DB pool, also add to highAvailable
pool. So does removeAgentFromPool
2013-11-04 17:10:49 +08:00
Tienan Chen 31753cc530 refator and i want to load the agents from db when start up 2013-11-04 16:18:32 +08:00
Tienan Chen 0c1ce42d3a refator HA's pool to map 2013-11-04 15:57:24 +08:00
Tienan Chen cf6026cdcb refactor the scriptCommandTransaction 2013-11-04 13:44:04 +08:00
Tienan Chen c30febb54e let the HA's breakdown and restoration rely on the ScriptLoadCommand 2013-11-04 09:07:14 +08:00
Tienan Chen 13cd25a927 remove redundant code 2013-11-01 15:08:16 +08:00
Tienan Chen 57d9329dd9 fullfil the ScriptLoadCommand, and we can rollback it now 2013-11-01 14:44:41 +08:00
Tienan Chen dbe83ffd58 add skeleton of testPlan and script load distribution's commit and roll
back
2013-10-31 17:13:23 +08:00
Tienan Chen 363e77ae59 add new loggers 2013-10-31 15:29:46 +08:00
Tienan Chen 0604f186e9 remove a bug when record script 2013-10-30 14:56:26 +08:00
Tienan Chen 8ab832e4ad refactor, and modify the test 2013-10-30 14:03:20 +08:00
Tienan Chen aa5585b812 refactor 2013-10-29 20:09:43 +08:00
Tienan Chen ff3ed52c7d remove the bug in recording script 2013-10-29 20:07:46 +08:00
Tienan Chen 015e6e67d9 remove some sysout and add some gitIgnore 2013-10-28 14:00:39 +08:00
Tienan Chen 1425c9c5db remove all bugs about testplan's current status 2013-10-28 11:28:00 +08:00
Tienan Chen a346117b8b add current status to testPlanResultModel 2013-10-28 10:45:20 +08:00
Tienan Chen 4c6115cdec Add update complete status of test plan 2013-10-28 10:18:52 +08:00
Tienan Chen 3ff89e72b0 log4j property 2013-10-25 18:58:43 +08:00
Tienan Chen de91b2ff8e write errors and infos to log4j 2013-10-25 17:41:53 +08:00
Tienan Chen 17888cadcb configure log4j 2013-10-25 17:19:53 +08:00
Tienan Chen 43127e5257 refactor and add new functions 2013-10-25 15:44:39 +08:00
Tienan Chen bcd2ac1ea8 edit spring from 3.2.3 to 3.2.4 2013-10-21 09:05:33 +08:00
Tienan Chen 43d7c491ba add more detail info into the table of testplan includes currentStatus,
priority and testplanmodel
2013-10-18 11:39:06 +08:00
Tienan Chen 4fa7c211d1 refactor, remove total count from agent's testbriefresult 2013-10-18 10:14:45 +08:00
Tienan Chen a0ec495df1 refactor 2013-10-18 08:40:18 +08:00
Tienan Chen c360cb13bd remove redundant code 2013-10-16 10:29:52 +08:00
Tienan Chen 1587944552 add the judgement whether the dead agent has a substitute 2013-10-12 17:07:59 +08:00