Debian Codegraph @

tests/flakyfunctional/execution-time-limit/04-poll/flow.cylc

raw
1 #!jinja2
2 [scheduler]
3 [[events]]
4 abort on inactivity timeout = True
5 inactivity timeout = PT2M
6
7 [scheduling]
8 [[graph]]
9 R1 = foo
10
11 [runtime]
12 [[foo]]
13 init-script = cylc__job__disable_fail_signals ERR EXIT
14 script = """
15 cylc__job__wait_cylc_message_started
16 if [[ "${CYLC_TASK_SUBMIT_NUMBER}" == '1' ]]; then
17 # Will be killed after PT5S
18 sleep 40
19 else
20 # Fake success
21 cat >>"$0.status" <<__STATUS__
22 CYLC_JOB_EXIT=SUCCEEDED
23 CYLC_JOB_EXIT_TIME=$(date -u '+%FT%H:%M:%SZ')
24 __STATUS__
25 fi
26 exit 1
27 """
28 [[[job]]]
29 execution time limit = PT10S
30 execution retry delays = PT0S