Happy-path tests should use values in che.properties when running tests #17871
Labels
area/qe
kind/enhancement
A feature request - must adhere to the feature request template.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
severity/P2
Has a minor but important impact to the usage or development of the system.
status/info-needed
More information is needed before the issue can move into the “analyzing” state for engineering.
Milestone
Is your enhancement related to a problem? Please describe.
Currently, happy path tests use the Che operator to deploy Che and then run tests. This can cause issues when testing a PR that updates a Che property that defines an image, since the Operator will cause tests to be run with the outdated property (e.g. #17785, which updates brokers and fails to run workspaces if older brokers are used).
Describe the solution you'd like
If possible, the happy path tests should make sure no properties in
che.properties
are overridden when running tests, makingche.properties
the primary source of truth for default configuration. Otherwise, any changes that attempt to update e.g. a default image and change functionality will fail to pass happy-path.Describe alternatives you've considered
The workaround for this is to merge property changes in a separate PR, wait for the changes to be available in the operator, and then open a new PR with the rest of the changes required. However, this is only possible when the changes are independent -- if we wanted to change the broker in a way that required Che server changes, it would be impossible.
Additional context
PRs #17785, #17870
The text was updated successfully, but these errors were encountered: