tests/functional/spawn-on-demand/05-stop-flow/flow.cylc
raw| 1 | # Check that stopping the only flow causes the workflow to shut down without |
| 2 | # spawning more tasks. |
| 3 | # Here bar stops the flow, so baz should never run. |
| 4 | [scheduler] |
| 5 | allow implicit tasks = True |
| 6 | [scheduling] |
| 7 | [[graph]] |
| 8 | R1 = "foo => bar => baz" |
| 9 | [runtime] |
| 10 | [[bar]] |
| 11 | script = """ |
| 12 | cylc stop --flow=1 ${CYLC_WORKFLOW_ID} |
| 13 | cylc__job__poll_grep_workflow_log 'Command "stop" actioned' |
| 14 | """ |