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

[internal] Fix parallel test flake #2515

Merged
merged 1 commit into from
Jul 21, 2023
Merged

Conversation

lblackstone
Copy link
Member

@lblackstone lblackstone commented Jul 21, 2023

Proposed changes

Two of the examples tests install different versions of the same CRD. This works in CSA mode because they overwrite each other, but cause a conflict in SSA mode. Since CRDs are cluster-scoped, it's nontrivial to fix since the tests run in parallel. Explicitly use CSA mode until we refactor the tests to run on separate clusters.

Related issues (optional)

Fix #2482
Related to #2243

Two of the examples tests install different versions of the same CRD. This works in CSA mode because they overwrite each other, but cause a conflict in SSA mode. Since CRDs are cluster-scoped, it's nontrivial to fix since the tests run in parallel. Explicitly use CSA mode until we refactor the tests to run on separate clusters.
@lblackstone lblackstone added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Jul 21, 2023
@lblackstone lblackstone requested a review from a team July 21, 2023 17:24
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@lblackstone lblackstone merged commit d88c6c1 into master Jul 21, 2023
@lblackstone lblackstone deleted the lblackstone/fix-test-flake branch July 21, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[flake] TestAccPrometheusOperator can conflict with TestRancher in SSA mode
2 participants