# Test that `cylc set` continues the active flow by default
# Task "setter" should cause bar to run, then subsequently baz.

[scheduler]
    [[events]]
        abort on stall timeout = True
        stall timeout = PT0S
        inactivity timeout = PT30S
        abort on inactivity timeout = True
        expected task failures = 1/foo
[scheduling]
    [[graph]]
        R1 = """
            foo:fail? => setter
            foo? => bar => baz
        """
[runtime]
    [[foo]]
        script = false
    [[bar, baz]]
        script = true
    [[setter]]
        script = """
            cylc set --output=succeeded "${CYLC_WORKFLOW_ID}//1/foo"
        """
