public void testExceptionAutomaticAllExecution() throws Exception {
ScheduleJobActionParameters actionParameters = new ScheduleJobActionParameters();
actionParameters.setIdentifier("action.type");
actionParameters.setDefinition("action.data".getBytes());
ScheduleJobCreateParameters jobParameters = new ScheduleJobCreateParameters();
jobParameters.setName("Test Job");
jobParameters.setDescription("Nothing to do");
jobParameters.setTimezone("UTC");
jobParameters.setCron("0 0 0 * * ?");
jobParameters.setEnabled(true);
jobParameters.setAllNodes(true);
jobParameters.setAllNodesPool(2);
jobParameters.setClusterGroupId(clusterGroup.getId());
jobParameters.setScheduleGroupId(scheduleGroup.getId());
jobParameters.setStrategy(ScheduleExecutionStrategy.CIRCULAR);
jobParameters.setNotifyOnFailure(true);
jobParameters.setActionIdentifier("action.type");
jobParameters.setActionDefinition("action.data".getBytes());
scheduleJob = scheduleJobManagementService.createJob(jobParameters);
quartzManagementService.disableJob(scheduleJob.getId());
control.reset();