| 1 |
# This should shut down cleanly without running "never" or "never_again". |
| 2 |
|
| 3 |
# The scheduler must remove flow_num 1 from task "c" to prevent spawning of |
| 4 |
# "never_again" AND remove the n=0 active-waiting task "never" from the pool |
| 5 |
# because it hasn't become active yet (otherwise the inactivity timer will |
| 6 |
# abort the run because the xtrigger never succeeds). |
| 7 |
|
| 8 |
[scheduler] |
| 9 |
allow implicit tasks = True |
| 10 |
[[events]] |
| 11 |
inactivity timeout = PT1M |
| 12 |
abort on inactivity timeout = True |
| 13 |
[scheduling] |
| 14 |
[[xtriggers]] |
| 15 |
x = xrandom(0, 10) # never succeeds |
| 16 |
[[graph]] |
| 17 |
R1 = """ |
| 18 |
@x => never |
| 19 |
c => never_again |
| 20 |
""" |
| 21 |
[runtime] |
| 22 |
[[c]] |
| 23 |
script = "cylc stop --flow=1 $CYLC_WORKFLOW_ID" |