tests/f/events/34-task-abort/flow.cylc
raw| 1 | [meta] |
| 2 | title = "Test job abort with retries and failed handler" |
| 3 | [scheduler] |
| 4 | [[events]] |
| 5 | expected task failures = 1/foo |
| 6 | [scheduling] |
| 7 | [[graph]] |
| 8 | R1 = "foo:fail => handled" |
| 9 | [runtime] |
| 10 | [[foo]] |
| 11 | script = """ |
| 12 | echo ONE |
| 13 | cylc__job_abort "ERROR: rust never sleeps" |
| 14 | echo TWO""" |
| 15 | execution retry delays = PT0S |
| 16 | [[[events]]] |
| 17 | failed handlers = echo "!!!FAILED!!!" %(event)s %(id)s %(submit_num)s %(message)s |
| 18 | [[handled]] |
| 19 | script = true |