Skip to content

Commit

Permalink
tests/f: api-suite-info/00 - de-flaky test
Browse files Browse the repository at this point in the history
* fix sort order of config items in output
  • Loading branch information
oliver-sanders committed Aug 16, 2021
1 parent fcfe400 commit 87a2a8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions cylc/flow/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,9 @@ def info_get_graph_raw(self, cto, ctn, grouping=None):
return (
self.config.get_graph_raw(cto, ctn, grouping),
self.config.workflow_polling_tasks,
self.config.leaves,
self.config.feet)
sorted(self.config.leaves),
sorted(self.config.feet)
)

def command_stop(
self,
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/api-workflow-info/00-get-graph-raw-1.t
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ cmp_ok "${WORKFLOW_RUN_DIR}/ctb-get-graph-raw.out" <<'__OUT__'
"t3"
],
[
"t1",
"T"
"T",
"t1"
]
]
__OUT__
Expand Down

0 comments on commit 87a2a8b

Please sign in to comment.