deb-mistral/mistral/tests
Winson Chan 433d8e7e99 Fix with-items concurrency for sub-workflows
For with-items task that uses concurrency to execute subworkflows, the
remaining iterations after the first iteration will return the same item
on subworkflow completion. This bug does not affect with-items task that
executes action.

The bug is caused by a delay in the scheduling of workflow execution and
the creation of the execution record. For action execution, the record is
created within the same DB transaction prior to scheduling.

This patch creates the workflow execution record first just like for
action execution and then schedule a resume workflow.

Change-Id: Iba80068260caead9ae8f2f8f105abc5b9349db52
Closes-Bug: #1536415
2016-02-02 17:33:44 +00:00
..
functional "test_ssh_actions" failed test has been fix 2016-01-07 15:54:55 +09:00
resources Fix concurrency issues by using READ_COMMITTED 2015-12-09 08:01:38 +00:00
unit Fix with-items concurrency for sub-workflows 2016-02-02 17:33:44 +00:00
__init__.py Initial commit that fix py34 tests run 2015-09-15 09:57:47 +00:00