-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit introduces three changes to the e2e test suite: 1. It reduces the failure rate of the CSV e2e test by allowing the operator to reach a succeeded install before searching for resources. 2. An installplan e2e test was failing a diff check against two installplans because the operator controller was applying a component label to one of the installplans. An update was made to still compare the spec and status of the two installplans but ignores other fields. 3. A test that ensures OLM elevates scoped permissions to cluster levels when the CSV is installed in a global OperatorGroup was not elevating them because all of the permissions defined in the role were already provided by a clusterrole defined in the csv. The test was sped up significantly by making the rules defined in the CSV's spec.Permissions field different from those defined in the spec.ClusterPermissions field.
- Loading branch information
Showing
2 changed files
with
48 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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