mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
remove workflow test
* We now handle workflows with jobs that have errored. We treat them the same as a failure result. Before, we would abort the workflow when we encountered an error.
This commit is contained in:
parent
f8c53f4933
commit
584b3f4e3d
@ -77,13 +77,6 @@ class TestWorkflowDAGFunctional(TransactionTestCase):
|
||||
self.assertTrue(is_done)
|
||||
self.assertTrue(has_failed)
|
||||
|
||||
def test_workflow_fails_for_unfinished_node(self):
|
||||
wfj = self.workflow_job(states=['error', None, None, None, None])
|
||||
dag = WorkflowDAG(workflow_job=wfj)
|
||||
is_done, has_failed = dag.is_workflow_done()
|
||||
self.assertTrue(is_done)
|
||||
self.assertTrue(has_failed)
|
||||
|
||||
def test_workflow_fails_for_no_error_handler(self):
|
||||
wfj = self.workflow_job(states=['successful', 'failed', None, None, None])
|
||||
dag = WorkflowDAG(workflow_job=wfj)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user