-
Notifications
You must be signed in to change notification settings - Fork 102
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
Every integration test ends with RuntimeError: Event loop is closed
#657
Comments
Yeah I noticed this as well, thought we cleaned this all up in #580, thanks for bringing it up, I'll take a closer look soon 👍 |
cderici
added a commit
to cderici/python-libjuju
that referenced
this issue
Mar 29, 2022
Exceptions that happen when a coroutine is being destroyed are ignored, but they cause backround noise such as "Exception ignored in coroutine ..." exceptions etc. This change tries to propogate the exceptions so that the asyncio base handler itself can ignore the exception as an attempt to get rid of that exception ignored noise in test outputs etc. Should fix juju#657
jujubot
added a commit
that referenced
this issue
Mar 30, 2022
#658 #### Description Exceptions that happen when a coroutine is being destroyed are ignored, but they cause backround noise such as "Exception ignored in coroutine ..." exceptions etc. This change tries to propogate the exceptions so that the asyncio base handler itself can ignore the exception as an attempt to get rid of that exception ignored noise in test outputs etc. Should fix #657 #### QA Steps No such `Exception ignored in coroutine ...` output in tests. QAing this is a little weird, because the background exception (that is ignored by the GC by design) is an intermittent one. #### Notes & Discussion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While integration tests pass and all is ok, in the logs I always see this at the end:
The text was updated successfully, but these errors were encountered: