Skip to content

[3.7] bpo-33353: test_asyncio use set_write_buffer_limits() (GH-7200)#7202

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-9551f77-3.7
May 29, 2018
Merged

[3.7] bpo-33353: test_asyncio use set_write_buffer_limits() (GH-7200)#7202
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-9551f77-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented May 29, 2018

Copy link
Copy Markdown
Contributor

Use transport.set_write_buffer_limits() in sendfile tests of
test_asyncio to make sure that the protocol is paused after sending
4 KiB. Previously,
test_sendfile_fallback_close_peer_in_the_middle_of_receiving() failed
on FreeBSD if the DATA was smaller than the default limit of 64 KiB.
(cherry picked from commit 9551f77)

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue33353

Use transport.set_write_buffer_limits() in sendfile tests of
test_asyncio to make sure that the protocol is paused after sending
4 KiB. Previously,
test_sendfile_fallback_close_peer_in_the_middle_of_receiving() failed
on FreeBSD if the DATA was smaller than the default limit of 64 KiB.
(cherry picked from commit 9551f77)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Backport status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 441afbd into python:3.7 May 29, 2018
@miss-islington

Copy link
Copy Markdown
Contributor Author

Thanks!

@miss-islington miss-islington deleted the backport-9551f77-3.7 branch May 29, 2018 14:21
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.

4 participants