Assert.assertNotNull(scheduleExecution);
control.verify();
ScheduleExecutionNode scheduleExecutionNode;
ScheduleExecutionResult scheduleExecutionResult;
scheduleExecution = scheduleExecutionManagementService.findExecution(scheduleExecution.getId());
Assert.assertEquals(ScheduleExecutionStatus.FAILED, scheduleExecution.getStatus());
Assert.assertEquals(2, scheduleExecution.getNodes().size());
Assert.assertEquals(2, scheduleExecution.getResults().size());
scheduleExecutionNode =scheduleExecution.getNodes().get(0);
Assert.assertNotNull(scheduleExecutionNode);
Assert.assertEquals(clusterNode2.getAddress(), scheduleExecutionNode.getAddress());
scheduleExecutionResult = scheduleExecutionNode.getResult();
Assert.assertNotNull(scheduleExecutionResult);
Assert.assertFalse(scheduleExecutionResult.isSucceed());
scheduleExecutionNode =scheduleExecution.getNodes().get(1);
Assert.assertNotNull(scheduleExecutionNode);
Assert.assertEquals(clusterNode1.getAddress(), scheduleExecutionNode.getAddress());
scheduleExecutionResult = scheduleExecutionNode.getResult();
Assert.assertNotNull(scheduleExecutionResult);
Assert.assertFalse(scheduleExecutionResult.isSucceed());
}