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

#11694 asyncioreactor state leak #11695

Merged
merged 6 commits into from Sep 28, 2022

Conversation

exarkun
Copy link
Member

@exarkun exarkun commented Sep 27, 2022

Fixes #11694

Now AsyncioSelectReactor tests don't share a loop with each other so they're
less likely to leak state onto each other.
1. Give it a name that preserves the existing test names
2. Make it a static method so it doesn't raise TypeError when called by the
   builder.
@exarkun exarkun marked this pull request as ready for review September 27, 2022 20:38
@chevah-robot chevah-robot requested a review from a team September 27, 2022 20:38
Copy link
Member

@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup.
Looks very good.
Happy to see each test with own reactor.

@exarkun exarkun merged commit d66a35a into twisted:trunk Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Relocate test suite hack for dealing with leaked AsyncioSelectReactor state
3 participants