#!Jinja2
[scheduler]
    allow implicit tasks = True
    [[events]]
        expected task failures = 1/janeway
[scheduling]
    cycling mode = integer
    [[graph]]
        R1 = """
            picard:start => worf
            picard => riker

            janeway:start => tuvok
            janeway:fail => !janeway  # Makes test workflow shut down without a fuss
        """
[runtime]
    [[root]]
        platform = {{ environ['CYLC_TEST_PLATFORM'] }}
    [[picard, janeway]]
        # Longer polling so that they finish before the first poll is done
        submission polling intervals = PT10S
        execution polling intervals = PT10S
    [[picard]]
        script = true
        [[[events]]]
            started handlers = echo "THERE ARE FOUR LIGHTS"
    [[janeway]]
        script = false
        [[[events]]]
            started handlers = echo "THERE'S COFFEE IN THAT NEBULA"
