Skip to content
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

Server/Client connections aren't always closed at the end of each unit test #44

Open
gabis-precog opened this issue Apr 9, 2022 · 0 comments
Labels

Comments

@gabis-precog
Copy link
Collaborator

gabis-precog commented Apr 9, 2022

As a result of connections not always closing, asyncio tasks are not ended properly during tests.

Steps to reproduce

  • in "def cancel_if_task_exists" function, set logger().warning('Runtime error', exc_info=True) to error level
  • in setup.cfg enable treating warnings as errors (comment out the relevant settings)

Expected: no failing tests

Actual : tests randomly fail with various errors caused by race conditions on test teardown.

This is likely specific to the quic transport, although might not be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant