From 1e1ec9c3f2a37540df5a6450c6c320142003de71 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:00:31 +0000 Subject: [PATCH] De-flakify test --- tests/functional/cylc-set/06-parentless/flow.cylc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/functional/cylc-set/06-parentless/flow.cylc b/tests/functional/cylc-set/06-parentless/flow.cylc index 5078b84e484..3ad945cc7bb 100644 --- a/tests/functional/cylc-set/06-parentless/flow.cylc +++ b/tests/functional/cylc-set/06-parentless/flow.cylc @@ -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 @@ -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]]