[ https://issues.apache.org/jira/browse/OOZIE-2911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077944#comment-16077944 ]
Peter Cseh commented on OOZIE-2911: ----------------------------------- Test error unrelated. > Re-add test testWfActionKillChildJob and adapt it to OYA > -------------------------------------------------------- > > Key: OOZIE-2911 > URL: https://issues.apache.org/jira/browse/OOZIE-2911 > Project: Oozie > Issue Type: Sub-task > Reporter: Peter Bacsko > Assignee: Peter Cseh > Attachments: OOZIE-2911-001.patch, OOZIE-2911-002.patch, > OOZIE-2911-003.patch, OOZIE-2911-004.patch > > > Original test case was: > {code} > public void testWfActionKillChildJob() throws Exception { > String externalJobID = launchSleepJob(1000); > String childId = launchSleepJob(1000000); > WorkflowJobBean job = > this.addRecordToWfJobTable(WorkflowJob.Status.KILLED, > WorkflowInstance.Status.KILLED); > WorkflowActionBean action = > this.addRecordToWfActionTable(job.getId(), externalJobID, "1", > WorkflowAction.Status.KILLED, childId); > new ActionKillXCommand(action.getId()).call(); > JobClient jobClient = createJobClient(); > final RunningJob mrJob = jobClient.getJob(JobID.forName(childId)); > waitFor(60 * 1000, new Predicate() { > public boolean evaluate() throws Exception { > return mrJob.isComplete(); > } > }); > assertEquals(mrJob.getJobState(), JobStatus.KILLED); > } > {code} > It was removed by OOZIE-1770's > [commit|https://github.com/apache/oozie/commit/21761f5b5b2b4457302aef780239610d076047e5#diff-aebe75e7912a7ba12c52f4ea356b61feL120] -- This message was sent by Atlassian JIRA (v6.4.14#64029)