tests/functional/job-kill/01-remote/flow.cylc
raw| 1 | #!Jinja2 |
| 2 | |
| 3 | [scheduler] |
| 4 | [[events]] |
| 5 | expected task failures = 1/t1, 1/t2 |
| 6 | |
| 7 | [scheduling] |
| 8 | [[graph]] |
| 9 | R1 = """ |
| 10 | t1:start=>stop |
| 11 | t2:start=>stop |
| 12 | """ |
| 13 | |
| 14 | [runtime] |
| 15 | [[T]] |
| 16 | script=sleep 120 & echo $! >file; wait |
| 17 | platform = {{ environ['CYLC_TEST_PLATFORM'] }} |
| 18 | [[t1]] |
| 19 | inherit=T |
| 20 | [[t2]] |
| 21 | inherit=T |
| 22 | [[stop]] |
| 23 | script=""" |
| 24 | cylc kill "$CYLC_WORKFLOW_ID//" '//1/t1' '//1/t2' || true |
| 25 | cylc stop $CYLC_WORKFLOW_ID |
| 26 | """ |