Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-70765: fix an HTTP/0.9 flaky test post GH-139514#139610

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
picnixz merged 2 commits intopython:mainfrompicnixz:fix/test/post-70765
Oct 5, 2025

Conversation

@picnixz
Copy link
Member

@picnixzpicnixz commentedOct 5, 2025
edited
Loading

This fixes a flaky test on macOS (failure was observed in the backport to 3.13 and on#139607). I don't really know why the connection is reset on macOS while it's not on my Linux but the end result for HTTP/0.9 should be that the server neither replies or sends an empty content.

@picnixzpicnixz merged commit1fe89d3 intopython:mainOct 5, 2025
43 checks passed
@picnixzpicnixz deleted the fix/test/post-70765 branchOctober 5, 2025 17:15
danigm pushed a commit to openSUSE-Python/cpython that referenced this pull requestOct 7, 2025
…on#139610)Fix a flaky test introduced in13dc2fd.After a single HTTP/0.9 request, both client and server are expected toclose the connection on their side. In particular, if a client sends tworequests with the same connection, only the first one should be handled.In the tests, it might happen that checking for the second request to beignored did not take into account that the server may have already closedthe connection. This flaky behavior was first observed on macOS CI workersbut could not be reproduced locally on a Linux machine.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@picnixz

[8]ページ先頭

©2009-2025 Movatter.jp