| 1 |
[meta] |
| 2 |
title = "test hold point and release, with tasks beyond workflow stop point" |
| 3 |
|
| 4 |
description = """ |
| 5 |
Releasing all tasks should not release tasks that are held because they're |
| 6 |
beyond the workflow stop point. |
| 7 |
""" |
| 8 |
|
| 9 |
# https://github.com/cylc/cylc-flow/pull/1144 |
| 10 |
|
| 11 |
# See also tests/f/pause-resume/01-beyond-stop |
| 12 |
|
| 13 |
[scheduler] |
| 14 |
cycle point format = %Y%m%dT%H |
| 15 |
|
| 16 |
[scheduling] |
| 17 |
initial cycle point = 20140101T00 |
| 18 |
stop after cycle point = 20140101T00 |
| 19 |
[[graph]] |
| 20 |
R1 = foo => holdrelease |
| 21 |
T00 = "foo => bar" |
| 22 |
[runtime] |
| 23 |
[[holdrelease]] |
| 24 |
# When this task runs foo will be held beyond the stop point. |
| 25 |
script = """ |
| 26 |
cylc hold --after=1900 $CYLC_WORKFLOW_ID |
| 27 |
cylc release --all $CYLC_WORKFLOW_ID |
| 28 |
""" |
| 29 |
[[foo]] |
| 30 |
script = true |
| 31 |
[[bar]] |
| 32 |
script = true |