Improve SWF timeouts processing: now processed in order, one by one

This commit is contained in:
Jean-Baptiste Barth 2015-11-09 23:44:49 +01:00
commit 248975d4e6
3 changed files with 100 additions and 17 deletions

View file

@ -66,6 +66,12 @@ def make_workflow_execution(**kwargs):
return WorkflowExecution(domain, wft, "ab1234", **kwargs)
# Makes decision tasks start automatically on a given workflow
def auto_start_decision_tasks(wfe):
wfe.schedule_decision_task = wfe.schedule_and_start_decision_task
return wfe
# Setup a complete example workflow and return the connection object
@mock_swf
def setup_workflow():