-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
Feature gates must demonstrate completeness and reliability.
As per https://github.com/openshift/api?tab=readme-ov-file#defining-featuregate-e2e-tests:
- Tests must contain either [OCPFeatureGate:<FeatureGateName>] or the standard upstream [FeatureGate:<FeatureGateName>].
- There must be at least five tests for each FeatureGate.
- Every test must be run on every TechPreview platform we have jobs for. (Ask for an exception if your feature doesn't support a variant.)
- Every test must run at least 14 times on every platform/variant.
- Every test must pass at least 95% of the time on every platform/variant.
If your FeatureGate lacks automated testing, there is an exception process that allows QE to sign off on the promotion by commenting on the PR.
The introduced functionality is not that complex. The only newly introduced ability is to modify the CVO log level using the API. However, we should still introduce an e2e test or tests to demonstrate that the CVO correctly reconciles the new configuration API.
The tests may be:
- Check whether the CVO notices a new configuration in a reasonable time.
- Check whether the CVO increments the observedGeneration correctly.
- Check whether the CVO changes its log level correctly.
- TODO: Think of more cases.
Definition of Done:
- e2e test/s exists to ensure that the CVO is correctly reconciling the new configuration API