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

[3.11] gh-99357: Close the event loop when it is no longer used in test_uncancel_structured_blocks (GH-99414) #99424

Merged
merged 2 commits into from
Nov 14, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 13, 2022

…t_uncancel_structured_blocks (pythonGH-99414)

(cherry picked from commit 99972dc)

Co-authored-by: Xiao Chen <chenxiao_7@163.com>
@gvanrossum
Copy link
Member

I'm seeing if the Windows test failure in test_asyncgen was a fluke or repeats itself.

@gvanrossum
Copy link
Member

gvanrossum commented Nov 13, 2022

Unfortunately it keeps failing on Windows, AFAICT in test_asyncio. Maybe closing the loop triggers something funky? Maybe we need to wait for certain events to occur? I guess ProactorEventLoop behaves sufficiently differently that we cannot rule this out. @kumaraditya303

@kumaraditya303
Copy link
Contributor

Unfortunately it keeps failing on Windows, AFAICT in test_asyncio. Maybe closing the loop triggers something funky? Maybe we need to wait for certain events to occur? I guess ProactorEventLoop behaves sufficiently differently that we cannot rule this out.

See #98219, it isn't related to this PR. I am unable to reproduce on Windows 11 so maybe this only happens on Windows Server versions or slow machines.

@gvanrossum
Copy link
Member

Sadly I cannot merge this with that test failing. I'll try running all the tests one more time, after that I'll invoke the RM.

@gvanrossum gvanrossum merged commit 90de4b7 into python:3.11 Nov 14, 2022
@miss-islington miss-islington deleted the backport-99972dc-3.11 branch November 14, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants