Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commented Jun 14, 2020

Using a log2n way to fill a much smaller buffer, and receiving in a cleaner way with EOF.

The failing test was reproducible using the following command thanks to @aeros :

./python -m test test_asyncio.test_sock_lowlevel --match test_sock_client_racing -j100 -F -v

According to test results, we may still need to bump the timeout:

https://github.com/python/cpython/blob/5aad027db9618f22f6fa2274e05dd50f928d2ed7/Lib/test/test_asyncio/test_sock_lowlevel.pyGH-L256-L257
(cherry picked from commit 8f04a84)

Co-authored-by: Fantix King fantix.king@gmail.com

https://bugs.python.org/issue30064

Using a log2n way to fill a much smaller buffer, and receiving in a cleaner way with EOF. The failing test was reproducible using the following command thanks to @aeros : ```bash ./python -m test test_asyncio.test_sock_lowlevel --match test_sock_client_racing -j100 -F -v ``` According to test results, we may still need to bump the timeout: https://github.com/python/cpython/blob/5aad027db9618f22f6fa2274e05dd50f928d2ed7/Lib/test/test_asyncio/test_sock_lowlevel.pyGH-L256-L257 (cherry picked from commit 8f04a84) Co-authored-by: Fantix King <fantix.king@gmail.com>
@miss-islington
Copy link
ContributorAuthor

@fantix: Status check is done, and it's a success ✅ .

@miss-islingtonmiss-islington merged commit 83cd968 into python:3.9Jun 14, 2020
@miss-islingtonmiss-islington deleted the backport-8f04a84-3.9 branch June 14, 2020 08:08
@miss-islington
Copy link
ContributorAuthor

@fantix: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
ContributorAuthor

@fantix: Status check is done, and it's a success ✅ .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issueskip newstestsTests in the Lib/test dirtopic-asyncio

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@miss-islington@aeros@the-knights-who-say-ni@bedevere-bot@fantix