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

Make overlay error order deterministic #256

Merged
merged 1 commit into from Dec 16, 2020

Conversation

hanlins
Copy link
Contributor

@hanlins hanlins commented Dec 15, 2020

Currently when ytt overlay hit an error, the error line orders are not deterministic. However many CI systems could make assumptions on the order of the error messages in test cases. Now sort the lines in alphabetical order to make it deterministic.

Currently when ytt overlay hit an error, the error line orders are not
deterministic. However many CI systems could make assumptions on the
order of the error messages in test cases. Now sort the lines in
alphabetical order to make it deterministic.

Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
@vmwclabot
Copy link

@hanlins, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

@hanlins
Copy link
Contributor Author

hanlins commented Dec 15, 2020

cc @StevenLocke, PTAL.

@gcheadle-vmware
Copy link
Contributor

Accepting PR as a fix for the determinism until upstream source is identified and addressed.

@gcheadle-vmware gcheadle-vmware merged commit 55def56 into carvel-dev:develop Dec 16, 2020
@vmwclabot
Copy link

@hanlins, VMware has approved your signed contributor license agreement.

@github-actions github-actions bot added the carvel triage This issue has not yet been triaged for relevance label Dec 16, 2020
@aaronshurley aaronshurley removed the carvel triage This issue has not yet been triaged for relevance label Nov 30, 2021
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.

None yet

4 participants