add new log for stop agent

add new log for stop agent
This commit is contained in:
coderfengyun 2014-03-31 16:15:41 +08:00
parent f402cfc575
commit ec89f4a969
1 changed files with 2 additions and 0 deletions

View File

@ -272,6 +272,8 @@ public class TestPlanScript extends Observable implements
StopTestModel resultModel = this.getAgentMessenger().stop(
runningAgent.getAgent(), runningAgent.getAgentRunId());
if (resultModel == null || !resultModel.isSuccess()) {
logger.error("can't stop the agent with hostName"
+ runningAgent.getAgent().getHostName());
doFaultTolerance(runningAgent);
continue;
}