tests/k/database/01-broadcast/flow.cylc
raw| 1 | [scheduling] |
| 2 | [[graph]] |
| 3 | R1 = """ |
| 4 | # previously "t1:submit": flaky? recover-1 could possibly start |
| 5 | # executing first. |
| 6 | t1:start => recover-t1 |
| 7 | """ |
| 8 | [runtime] |
| 9 | [[t1]] |
| 10 | script = test -n "${HELLO}" |
| 11 | execution retry delays = PT10M # prevent task failure |
| 12 | [[[environment]]] |
| 13 | HELLO = |
| 14 | [[recover-t1]] |
| 15 | script = """ |
| 16 | cylc broadcast -p 1 -n t1 -s'[environment]HELLO=Hello' "${CYLC_WORKFLOW_ID}" |
| 17 | sleep 1 |
| 18 | cylc trigger "${CYLC_WORKFLOW_ID}//1/t1" |
| 19 | """ |