tests/functional/job-submission/06-garbage/flow.cylc
raw| 1 | [scheduler] |
| 2 | [[events]] |
| 3 | expected task failures = 1/t1 |
| 4 | |
| 5 | [scheduling] |
| 6 | [[graph]] |
| 7 | R1 = t1:submit-fail? => t2 |
| 8 | |
| 9 | [runtime] |
| 10 | [[t1]] |
| 11 | script = true |
| 12 | platform = bad |
| 13 | [[t2]] |
| 14 | script = """ |
| 15 | grep -q -F \ |
| 16 | 'platform: bad - Could not connect to bad' \ |
| 17 | "${CYLC_WORKFLOW_LOG_DIR}/log" |
| 18 | |
| 19 | grep -q -F \ |
| 20 | 'remote-init will retry if another host is available' \ |
| 21 | "${CYLC_WORKFLOW_LOG_DIR}/log" |
| 22 | |
| 23 | cylc shutdown "${CYLC_WORKFLOW_ID}" |
| 24 | """ |