Fixing finishing workflow in case DELAYED task state
* If we have 2 parallel tasks and one of these in the DELAYED state, workflow incorrectly finishes and DELAYED state is not taken to account. Closes-Bug: #1422621 Change-Id: I187a61117f5ad94c6f4ab33fbc750350f8adef0b
This commit is contained in:
@@ -110,7 +110,7 @@ class WorkflowHandler(object):
|
||||
|
||||
return []
|
||||
|
||||
if not cmds and not wf_utils.find_running_tasks(self.wf_ex):
|
||||
if not cmds and not wf_utils.find_incomplete_tasks(self.wf_ex):
|
||||
# If there are no running tasks at this point we can conclude that
|
||||
# the workflow has finished.
|
||||
if not self.is_paused_or_completed():
|
||||
|
||||
Reference in New Issue
Block a user