Debian Codegraph @

tests/functional/shutdown/12-bad-port-file-check/flow.cylc

raw
1 #!Jinja2
2 [scheduler]
3 {% if GLOBALCFG is not defined %}
4 [[main loop]]
5 [[[health check]]]
6 interval = PT10S
7 {% endif %}{# not GLOBALCFG is not defined #}
8 [[events]]
9 abort on stall timeout = False
10 stall timeout = PT0S
11
12 [scheduling]
13 [[graph]]
14 R1 = t1
15
16 [runtime]
17 [[t1]]
18 init-script = cylc__job__disable_fail_signals ERR EXIT
19 script = """
20 cylc__job__wait_cylc_message_started
21 # Corrupt port file and don't report back to workflow
22 SRVD="${CYLC_WORKFLOW_RUN_DIR}/.service"
23 echo 'Haha! I have corrupted the port file!' >"${SRVD}/contact"
24 exit 1
25 """