Skip to content

Conversation

@roivaz
Copy link
Contributor

@roivaz roivaz commented Jan 24, 2022

This PR adds propagation of the parent context to the stoppable managers so they stop when the parent context is cancelled. I run into problems with this while running tests with the envtest framework using the 1.22 version of the k8s api server. It seems that the api server blocks until all running controllers are shutdown and this was causing the tests to fail during the api server shutdown phase.

@raffaelespazzoli
Copy link
Collaborator

thanks this is a good addition.

@raffaelespazzoli raffaelespazzoli merged commit 856c7a8 into redhat-cop:master Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants