Repository navigation
Conversation
Store validation messages under a named key and test that the validator reports failures from more than one alert check.
Group envtest suites under tests/integration and run cluster-free tests separately in CI, including the local dependency modules. Exercise the correct Cluster Registry watch and retain coverage and license checks.
7 of 13 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
CI currently repeats the unit tests on both Kubernetes versions, and the integration suites live in several directories. Separate the jobs by what they need to run:
make test-unitruns them once in CI, including the local dependency modules and E2E helper tests.tests/integration/. Keep them and the downstream reconciler suite on both supported Kubernetes versions. Preserve the root coverage report and the license-header checks.make test-e2e E2E_SCENARIO=batched-broker-removalruns that scenario with its own setup and teardown. See Testing Koperator.The Cluster Registry tests now observe the correct controller and verify that owned objects do not trigger reconciliation. The broker-removal scenario checks that one Cruise Control operation completes for both brokers, the removed brokers' volume claims disappear, and the remaining brokers are ready. The alert validator also stores all failures under a named error detail so callers can read them.
Type of Change
Validation
make check license-header-checkpassed.make test-unitpassed without Kubernetes binaries.make test-integrationpassed on Kubernetes1.35.0and1.37.0.1.35.0, including teardown. The full live E2E matrix is left to CI.Checklist