Enforce wfj to ignore canceled jobs.

This commit is contained in:
Aaron Tan
2016-10-31 12:09:14 -04:00
parent 4e89cc8eb4
commit aa119e0102

View File

@@ -60,6 +60,8 @@ class WorkflowDAG(SimpleDAG):
# Job is about to run or is running. Hold our horses and wait for # Job is about to run or is running. Hold our horses and wait for
# the job to finish. We can't proceed down the graph path until we # the job to finish. We can't proceed down the graph path until we
# have the job result. # have the job result.
elif job.status == 'canceled':
continue
elif job.status not in ['failed', 'error', 'successful']: elif job.status not in ['failed', 'error', 'successful']:
return False return False
elif job.status in ['failed', 'error']: elif job.status in ['failed', 'error']: