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

Ensure unique names for ClusterRoles in e2e tests #2625

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

swiatekm
Copy link
Contributor

ClusterRoles with the same name in different tests can cause hard to debug test failures due to race conditions. With this fix, all ClusterRoles have unique names.

@swiatekm swiatekm added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Feb 14, 2024
@swiatekm swiatekm requested a review from a team February 14, 2024 12:46
@swiatekm swiatekm force-pushed the test/e2e-clusterrole-names branch from 785dedd to 0b28930 Compare February 14, 2024 13:01
Copy link
Member

@pavolloffay pavolloffay left a comment

Choose a reason for hiding this comment

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

Could we add cleanup of those roles as well?

@swiatekm
Copy link
Contributor Author

Could we add cleanup of those roles as well?

I think kuttl cleans them up. It has a skipDelete flag which is disabled by default.

@swiatekm swiatekm force-pushed the test/e2e-clusterrole-names branch from 0b28930 to ab9d437 Compare February 14, 2024 16:07
@jaronoff97 jaronoff97 merged commit b32c855 into open-telemetry:main Feb 15, 2024
29 checks passed
@swiatekm swiatekm deleted the test/e2e-clusterrole-names branch February 15, 2024 19:24
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants