"pause-before" has to have bigger priority than other policies
Bug #1449948 reported by
Anastasia Kuznetsova
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
Unassigned | ||
Liberty |
Fix Released
|
Medium
|
Bryan Havenstein |
Bug Description
Steps to reproduce:
1. create workflow:
version: '2.0'
wf:
type: direct
task-defaults:
wait-before: 2
retry:
count: 2
delay: 1
pause-before: true
tasks:
hello:
action: std.echo output="Hello"
publish:
result: <% $.hello %>
2. execute this workflow
Observed result:
Workflow execution finally goes to "PAUSED" state, but before it will be executed with all rules of other policies.
Changed in mistral: | |
importance: | Undecided → High |
Changed in mistral: | |
milestone: | none → liberty-1 |
status: | New → Triaged |
Changed in mistral: | |
importance: | High → Medium |
Changed in mistral: | |
milestone: | 1.0.0 → none |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/178856 /git.openstack. org/cgit/ stackforge/ mistral/ commit/ ?id=5da27911264 5de4c60975a127d 04acf412570e66
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5da279112645de4 c60975a127d04ac f412570e66
Author: bhavenst <email address hidden>
Date: Wed Apr 29 17:58:32 2015 -0400
Allow pause-before to override wait-before policy
* Prevent wait-before from scheduling task for paused workflow
Closes-bug: #1449948
Change-Id: I411d961d0bee7d 874e737e05357a7 c8c183add51