Skip to content

Commit

Permalink
test: fix flaky test (argoproj#20847)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev committed Nov 20, 2024
1 parent 3da5a3d commit f3c56a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/argocd/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1738,6 +1738,9 @@ func formatConditionsSummary(app argoappv1.Application) string {
}
summary := "<none>"
if len(items) > 0 {
sort.Slice(items, func(i, j int) bool {
return items[i] < items[j]
})
summary = strings.Join(items, ",")
}
return summary
Expand Down

0 comments on commit f3c56a5

Please sign in to comment.