Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: snapshot & upload sort dry-run output #494

Merged
merged 1 commit into from
Apr 1, 2020
Merged

Conversation

wwilsman
Copy link
Contributor

@wwilsman wwilsman commented Apr 1, 2020

Purpose

Tests show that dry run output can sometimes be flakey due to sort order.

Approach

Rather than fix the test, this sorts the output. Having the output be sorted will help people iterate on globs so you don't have to search the list to find if something was selected by the glob or not.

Tests were already assuming the output was sorted, so this should result in no more flakes for this test.

@wwilsman wwilsman requested a review from Robdel12 April 1, 2020 17:59
Copy link
Contributor

@Robdel12 Robdel12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏁 Good description of the why and fix 👍

@wwilsman wwilsman merged commit ae36f5a into master Apr 1, 2020
@delete-merged-branch delete-merged-branch bot deleted the ww/sort-dry-run branch April 1, 2020 18:08
djones pushed a commit that referenced this pull request Apr 1, 2020
## [0.26.1](v0.26.0...v0.26.1) (2020-04-01)

### Bug Fixes

* sort dry-run output ([#494](#494)) ([ae36f5a](ae36f5a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants