You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to add integration tests (running in minikube) for the Provider controller. Specifically we want to test that the Provider controller manages the provider service Deployment correctly in every stage of the Provider resource lifecycle.
We're raising a dedicated issue to do this since we don't have any integration tests for any of our controllers, so we'll need to add quite a bit of scaffolding to introduce them for the first time.
Test cases
Provider resource Create | Update | Delete:
Create Provider -> Assert SynchronizationState = Creating -> Assert Deployment and Service eventually created and healthy -> Assert SynchronizationState = Succeeded
Update Provider -> Assert SynchronizationState = Updating -> Assert Deployment and Service eventually updated and healthy -> Assert SynchronizationState = Succeeded
Delete Provider -> Assert SynchronizationState = Deleting -> Assert Deployment and Service eventually deleted
Deployment resource Update | Delete:
Update Deployment -> Assert Provider SynchronizationState = Updating -> Assert Deployment eventually rolled back and healthy -> Assert Provider SynchronizationState = Succeeded
Delete Deployment -> Assert Provider SynchronizationState = Creating -> Assert Deployment eventually rolled back and healthy -> Assert Provider SynchronizationState = Succeeded
Service resource Update | Delete:
Identical to Deployment above
The text was updated successfully, but these errors were encountered:
Overview
We want to add integration tests (running in minikube) for the Provider controller. Specifically we want to test that the Provider controller manages the provider service Deployment correctly in every stage of the Provider resource lifecycle.
We're raising a dedicated issue to do this since we don't have any integration tests for any of our controllers, so we'll need to add quite a bit of scaffolding to introduce them for the first time.
Test cases
The text was updated successfully, but these errors were encountered: