| 1 |
[meta] |
| 2 |
title = final cycle reload test |
| 3 |
description = """change final cycle.""" |
| 4 |
|
| 5 |
[scheduler] |
| 6 |
UTC mode = True |
| 7 |
|
| 8 |
[scheduling] |
| 9 |
initial cycle point = 20100101T00 |
| 10 |
final cycle point = 20100102T00 # marker |
| 11 |
[[graph]] |
| 12 |
R1 = "reloader => a" |
| 13 |
PT6H = "a[-PT6H] => a" |
| 14 |
[runtime] |
| 15 |
[[reloader]] |
| 16 |
script = """ |
| 17 |
# change the final cycle: |
| 18 |
perl -pi -e 's/(final cycle point = )20100102T00( # marker)/\1 20100101T12\2/' $CYLC_WORKFLOW_RUN_DIR/flow.cylc |
| 19 |
# reload |
| 20 |
cylc reload $CYLC_WORKFLOW_ID |
| 21 |
cylc__job__poll_grep_workflow_log -F 'Reload completed' |
| 22 |
""" |
| 23 |
[[a]] |
| 24 |
script = true |