Debian Codegraph @

tests/functional/job-submission/01-job-nn-localhost/flow.cylc

raw
1 #!jinja2
2 [scheduler]
3 UTC mode = True # Ignore DST
4
5 [scheduling]
6 [[graph]]
7 R1 = foo
8
9 [runtime]
10 {% if CYLC_TEST_PLATFORM is defined %}
11 [[root]]
12 platform = {{ CYLC_TEST_PLATFORM }}
13 {% endif %}
14 [[foo]]
15 script = """
16 JOB_LOG_DIR="$(dirname "${CYLC_TASK_LOG_DIR}")"
17 NN_VALUE="$(readlink "${JOB_LOG_DIR}/NN")"
18 # bash 4.2.0 bug: ((VAR == VAL)) does not trigger 'set -e':
19 test "${CYLC_TASK_SUBMIT_NUMBER}" -eq "100"
20 test "${NN_VALUE}" -eq "100"
21 """
22 [[[job]]]
23 execution retry delays = 99*PT0S