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

Time-limit the tests with async-timeout if possible #608

Merged
merged 3 commits into from Dec 13, 2020
Merged

Conversation

nolar
Copy link
Owner

@nolar nolar commented Dec 13, 2020

We already do the time-limiting with asyncio.wait_for(), but it looks much better with async-timeout. It also separates the test restrictions from the async coroutines being tested.

The requirement is already there, both directly and as a sub-dependency, so why not utilise it to the full strength?

@nolar nolar added automation CI/CD: testing, linting, releasing automatically refactoring Code cleanup without new features added labels Dec 13, 2020
It is not related to this PR in which it goes, but it was either highlighted by the changes, or caused by dependency upgrades, or happens sporadically. In either case, worth fixing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation CI/CD: testing, linting, releasing automatically refactoring Code cleanup without new features added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant