Skip to content

Commit

Permalink
De-flakify test
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Nov 11, 2024
1 parent 7a651e7 commit 1e1ec9c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/functional/cylc-set/06-parentless/flow.cylc
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# Start this with --start-task=1800/a.
# It should stall because x => b is off-flow.
# The stall handler should unstall it by spawning x.
# Task a's script should spawn x.
# The log should show a clock-trigger check before x runs.

[scheduler]
[[events]]
inactivity timeout = PT30S
abort on inactivity timeout = True
stall timeout = PT10S
abort on stall timeout = True
stall handlers = "cylc set --pre=all %(workflow)s//1800/x"

[scheduling]
initial cycle point = 1800
Expand All @@ -19,4 +15,6 @@
@wall_clock => x => b
"""
[runtime]
[[a, b, x]]
[[a]]
script = cylc set --pre=all "${CYLC_WORKFLOW_ID}//1800/x"
[[b, x]]

0 comments on commit 1e1ec9c

Please sign in to comment.