-
Story
-
Resolution: Done
-
Normal
-
None
Description
One application is selected by the resourceRef and second application is selected via the matchLabels.
The scenario:
- Create an application #1 in a form of Deployment or DeploymenConfig and set matching labels on it
- Create an application #1 in a form of Deployment or DeploymenConfig and do not set matching labels on it
- Create a backing service (PostgreSQL DB) instance
- Create ServiceBindingRequest #1 to bind the App #1 selected by the applicationSelector.matchLabels and the DB
- Create ServiceBindingRequest #2 to bind the App #2 selected by the applicationSelector.resourceRef and the DB
- Verify that each App has the proper env variables set for the backing service and is re-deployed without errors.
Acceptance Criteria
- A new test is added to be executed by the
make test-unit
command so it can be executed on CI.
- is related to
-
APPSVC-235 Review of reliable automated test coverage
- Closed
- links to