| 1 |
# Test that `cylc set` continues the active flow by default |
| 2 |
# Task "setter" should cause bar to run, then subsequently baz. |
| 3 |
|
| 4 |
[scheduler] |
| 5 |
[[events]] |
| 6 |
abort on stall timeout = True |
| 7 |
stall timeout = PT0S |
| 8 |
inactivity timeout = PT30S |
| 9 |
abort on inactivity timeout = True |
| 10 |
expected task failures = 1/foo |
| 11 |
[scheduling] |
| 12 |
[[graph]] |
| 13 |
R1 = """ |
| 14 |
foo:fail? => setter |
| 15 |
foo? => bar => baz |
| 16 |
""" |
| 17 |
[runtime] |
| 18 |
[[foo]] |
| 19 |
script = false |
| 20 |
[[bar, baz]] |
| 21 |
script = true |
| 22 |
[[setter]] |
| 23 |
script = """ |
| 24 |
cylc set --output=succeeded "${CYLC_WORKFLOW_ID}//1/foo" |
| 25 |
""" |