Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hilary James Oliver <[email protected]>
  • Loading branch information
oliver-sanders and hjoliver authored Nov 28, 2023
1 parent 299ec97 commit b332dda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cylc/flow/task_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ def compute_runahead(self, force=False) -> bool:
# * tasks with partially satisfied prereqs
# * tasks with incomplete xtriggers
# * held tasks
# * queued tasks
itask.state(TASK_STATUS_WAITING)

# unfinished tasks (back-compat mode)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_task_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ async def test_compute_runahead(
This test ensures that:
* Runahead tasks are excluded from computations
see https://github.com/cylc/cylc-flow/issues/5825
* Tasks are initiated with the correct is_runahead status on statup.
* Tasks are initiated with the correct is_runahead status on startup.
* Behaviour is the same in compat/regular modes.
* Behaviour is the same for integer/datetime cycling modes.
Expand Down

0 comments on commit b332dda

Please sign in to comment.