forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky unit tests in resources package
Sorting the slices from `GetOutputSteps` and `GetInputSteps` in test, to make sure we have a consistent ordering of the slice. As maps have non-deterministic order in Go, and as we don't sort in the actual methods (I don't think we need to have a deterministic slice), the compared slice may not be in the same order. Sorting it by name fixes that. Signed-off-by: Vincent Demeester <[email protected]>
- Loading branch information
1 parent
e5aaa6f
commit a561dd3
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters