Debian Codegraph @

tests/functional/job-kill/02-loadleveler/flow.cylc

raw
1 #!Jinja2
2
3 [scheduler]
4 [[events]]
5 expected task failures = 1/t1
6
7 [scheduling]
8 [[graph]]
9 R1=t1:start=>stop
10
11 [runtime]
12 [[t1]]
13 script=sleep 120
14 {% if "CYLC_TEST_PLATFORM" in environ and environ["CYLC_TEST_PLATFORM"] %}
15 platform = {{ environ["CYLC_TEST_PLATFORM"] }}
16 {% endif %}
17 [[[directives]]]
18 class=serial
19 job_type=serial
20 notification=never
21 resources=ConsumableCpus(1) ConsumableMemory(64mb)
22 wall_clock_limit=180,120
23 [[stop]]
24 script="""
25 cylc kill "$CYLC_WORKFLOW_ID//*/t1"
26 cylc stop "$CYLC_WORKFLOW_ID"
27 """