Debian Codegraph @

tests/f/cylc-remove/00-simple/flow.cylc

raw
1 # Abort on stall timeout unless we remove unhandled failed and waiting task.
2 [scheduler]
3 [[events]]
4 stall timeout = PT30S
5 abort on stall timeout = True
6 expected task failures = 1/b
7 [scheduling]
8 [[graph]]
9 R1 = """
10 a => b => c
11 cleaner
12 """
13 [runtime]
14 [[a,c]]
15 script = true
16 [[b]]
17 script = false
18 [[cleaner]]
19 script = """
20 cylc__job__poll_grep_workflow_log -E '1/b/01.* failed'
21 # Remove the unhandled failed task
22 cylc remove "$CYLC_WORKFLOW_ID//1/b"
23 # Remove waiting 1/c
24 # (not auto-removed because parent 1/b, an unhandled fail, is not finished.)
25 cylc remove "$CYLC_WORKFLOW_ID//1/c:waiting"
26 """