| 1 |
[meta] |
| 2 |
title = "test workflow for broadcast timeout functionality" |
| 3 |
|
| 4 |
[scheduler] |
| 5 |
UTC mode = True |
| 6 |
|
| 7 |
[scheduling] |
| 8 |
initial cycle point = 20100808T0000Z |
| 9 |
final cycle point = 20100808T0000Z |
| 10 |
[[graph]] |
| 11 |
R1 = send_broadcast => timeout |
| 12 |
|
| 13 |
[runtime] |
| 14 |
[[send_broadcast]] |
| 15 |
script = """ |
| 16 |
cylc broadcast -n timeout --point=20100808T0000Z --set='[events]execution timeout=PT1S' $CYLC_WORKFLOW_ID |
| 17 |
""" |
| 18 |
[[timeout]] |
| 19 |
script = """ |
| 20 |
cylc__job__poll_grep_workflow_log -E \ |
| 21 |
"${CYLC_TASK_ID}.* execution timeout after PT1S" |
| 22 |
""" |
| 23 |
[[[events]]] |
| 24 |
execution timeout = PT1M |