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
bpo-41682: fixed flaky test test_sendfile_close_peer_in_the_middle_of_receiving #30845
Conversation
|
...And we finally have green CI |
I was already trying to find the size of DATA based on some stack overflow answers before Guido provided his reasoning as I once tried making DATA very high and it worked so I knew it was about fine tuning the DATA length. |
@erlend-aasland |
Great, I see it. Thanks. |
|
I'm gonna test with buildbots. For now, please hold off on committing anything (well you can, but it'll make the buildbots status harder to track ;). If this works, we need to give you an award for saving thousands of contributors from this pain. |
|
If you want to schedule another build, you need to add the " |
We could consider giving this patch a NEWS entry, given the amount of frustration and gray hair this test has caused |
|
I'll leave this in Erlend's capable hands. |
|
Thanks for you input, @asvetlov! I would make the PR title and message more accurate before merging; maintaining a clear and self-documenting git history really helps when issues pop up again (I suspect this might do in a Windows release or five). Here's a quick 'n dirty suggestion, but feel free to word it differently: Other than that, I have no further remarks. (The failed buildbot is not related to this PR.) Here's your CI Janitor Award: (Andrew, Guido, or Ken can merge; I don't have the commit bit.) |
|
(The bot that edit our PR comments in order to create bpo links can be very, very irritating at times...) |
|
Thanks @kumaraditya303 for the PR, and @pablogsal for merging it |
|
Merged ;) |
|
GH-30860 is a backport of this pull request to the 3.10 branch. |
|
GH-30861 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]>
(cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]>
|
Be careful next time you merge a PR, the merged commit title is just "fixed flaky test" which doesn't mention test_asyncio or the bpo number, so no comment was added to https://bugs.python.org/issue41682 That's the annoying part with GH PR: it's possible to change the title and description in GitHub, and then get I completly different title and description when you merge it... |
…_receiving (GH-30845) (#30860) (cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
…_receiving (GH-30845) (#30861) (cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
I also used the GitHub phone app to merge it which o think made things even more confusing as I didn't see that the commit title would be different :( |
|
I agree, the UI on a phone is "not great" :-( Especially for a merge operation. |
…_receiving (pythonGH-30845) (python#30861) (cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
https://bugs.python.org/issue41682