-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TODO: unclean shutdown of envtest e2e tests #429
Comments
^^ that nested context does not seem to be good enough, I still see unclean shutdowns |
resolved by suppressing DEBUG logs |
I like the suggestion of using
|
The webhook timeout cannot be changed
|
One more advice, similarly to the previous, I found one other likely option in the struct docs
|
Waiting for
to return (after ctx is cancelled) and only then calling
seems to be effective against
|
The fixes were implemented in these two PRs, and the logs look somewhat quieter now
Most importantly, the shutdown is almost immediate, within 1 second, instead of about 10 seconds it used to take before. I think we are as much done as we can reasonably be here. |
Harmless, but annoying
This is something that people in general struggled with
and we have a TODO comment for it
https://github.com/opendatahub-io/kubeflow/blob/0743e0e444f236b75d90eb2053ac0e79ead5950f/components/odh-notebook-controller/controllers/suite_test.go#L189-L195
The solution seems to be to create a nested context for
but it needs to be checked.
The text was updated successfully, but these errors were encountered: