Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-237-Support-for-resuming-failed-workflow-executions 684b38fe7 -> d4db7270c
minor test fixes Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/d4db7270 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/d4db7270 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/d4db7270 Branch: refs/heads/ARIA-237-Support-for-resuming-failed-workflow-executions Commit: d4db7270cfb557cfc7b6c9dbfe3578bcea23a5e0 Parents: 684b38f Author: max-orlov <[email protected]> Authored: Sun Jul 9 15:03:28 2017 +0300 Committer: max-orlov <[email protected]> Committed: Sun Jul 9 15:03:28 2017 +0300 ---------------------------------------------------------------------- tests/modeling/test_models.py | 3 +-- tests/orchestrator/test_workflow_runner.py | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/d4db7270/tests/modeling/test_models.py ---------------------------------------------------------------------- diff --git a/tests/modeling/test_models.py b/tests/modeling/test_models.py index bbc7352..cc3bfa7 100644 --- a/tests/modeling/test_models.py +++ b/tests/modeling/test_models.py @@ -324,8 +324,7 @@ class TestExecution(object): Execution.STARTED: [Execution.PENDING], Execution.CANCELLING: [Execution.PENDING, Execution.STARTED], - Execution.FAILED: [Execution.PENDING, - Execution.STARTED, + Execution.FAILED: [Execution.STARTED, Execution.SUCCEEDED, Execution.CANCELLED, Execution.CANCELLING], http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/d4db7270/tests/orchestrator/test_workflow_runner.py ---------------------------------------------------------------------- diff --git a/tests/orchestrator/test_workflow_runner.py b/tests/orchestrator/test_workflow_runner.py index 3527f34..7ed0182 100644 --- a/tests/orchestrator/test_workflow_runner.py +++ b/tests/orchestrator/test_workflow_runner.py @@ -161,7 +161,8 @@ def test_execute(request, service): assert engine_kwargs['ctx'].execution.workflow_name == 'test_workflow' mock_engine_execute.assert_called_once_with(ctx=workflow_runner._workflow_context, - resuming=False) + resuming=False, + retry_failed=False) def test_cancel_execution(request):
