[meta]
    title = queue size reload test
    description = """change family triggering order via a reload."""

[scheduling]
    [[graph]]
        R1 = """
<<<<<<< HEAD:tests/functional/workflow-host-self-id/06-graphing-fam/suite.rc
                   reloader => BAR # marker1
=======
                   reloader => inter => BAR # marker1
>>>>>>> upstream/8.0_b2:tests/functional/reload/06-graphing-fam/flow.cylc
                   BAR:finish-all => FOO # marker2
                """
[runtime]
    [[inter]]
    [[reloader]]
        script = """
# change the order of FOO and BAR in the graphing section:
perl -pi -e 's/(reloader => inter => )BAR( # marker1)/\1FOO\2/' $CYLC_WORKFLOW_RUN_DIR/flow.cylc
perl -pi -e 's/( )BAR:finish-all => FOO( # marker2)/\1FOO:finish-all => BAR\2/' $CYLC_WORKFLOW_RUN_DIR/flow.cylc
# reload
<<<<<<< HEAD:tests/functional/workflow-host-self-id/06-graphing-fam/suite.rc
cylc reload -f "${CYLC_SUITE_NAME}"
cylc__job__poll_grep_suite_log -F 'Reload completed'
=======
cylc reload "${CYLC_WORKFLOW_NAME}"
cylc__job__poll_grep_workflow_log -F 'Reload completed'
>>>>>>> upstream/8.0_b2:tests/functional/reload/06-graphing-fam/flow.cylc
"""
    [[FOO, BAR]]
        script = true
    [[a,b,c,d]]
        inherit = FOO
    [[e,f,g,h]]
        inherit = BAR
