Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In a real controller the parent reconciler loads the parent resource from the api server. When testing a sub reconciler, we can assume the parent resource as a given resource. Users who want to test when the parent resource is deleted from the api server after the reconciliation starts can use a reactor to inject a not found error. Signed-off-by: Scott Andrews <andrewssc@vmware.com>
- Loading branch information
Showing
2 changed files
with
8 additions
and
52 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