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

Filter metadata.managedFields from yaml diff output #370

Closed
jeloba opened this issue May 4, 2022 · 0 comments · Fixed by #498
Closed

Filter metadata.managedFields from yaml diff output #370

jeloba opened this issue May 4, 2022 · 0 comments · Fixed by #498

Comments

@jeloba
Copy link

jeloba commented May 4, 2022

What would you like to be added:

Filter metadata.managedFields from yaml diff output when an expectation mismatch is printed. The fields should remain as is, if it's part of the expectation.

Why is this needed:

metadata.managedFields contains a lot of information, that is seldom relevant. Printing it on every mismatch makes the output more verbose than needed. It hides the important differences and makes test results difficult to navigate.

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 a pull request may close this issue.

1 participant