Title: bpo-30064: Fix slow asyncio sock test by fantix · Pull Request #20868 · python/cpython · GitHub
Open Graph Title: bpo-30064: Fix slow asyncio sock test by fantix · Pull Request #20868 · python/cpython
X Title: bpo-30064: Fix slow asyncio sock test by fantix · Pull Request #20868 · python/cpython
Description: 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: cpython/Lib/test/test_asyncio/test_sock_lowlevel.py Lines 256 to 257 in 5aad027 self.loop.run_until_complete(asyncio.wait_for( self._basetest_sock_send_racing(listener, sock), 10)) https://bugs.python.org/issue30064 Automerge-Triggered-By: @aeros
Open Graph Description: 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_asyn...
X Description: 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_asyn...
Opengraph URL: https://github.com/python/cpython/pull/20868
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:829cf7be-fc5c-089e-136d-ab2edad5ccf5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 99AE:2DA0A8:9618A1:C98FA3:6969BFE2 |
| html-safe-nonce | c3f9112eaa3dfce1cae7f54c29025e4651f7ae166f8e0232587e71d4f1774a77 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUFFOjJEQTBBODo5NjE4QTE6Qzk4RkEzOjY5NjlCRkUyIiwidmlzaXRvcl9pZCI6IjIxOTY3NDUzOTQzODIyNzQyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 459175b6f091063c0bca8f5a35aa93e89f4261b7449ec980b75a8b66661b4d83 |
| hovercard-subject-tag | pull_request:434105284 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/20868/files |
| twitter:image | https://avatars.githubusercontent.com/u/1751601?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1751601?s=400&v=4 |
| og:image:alt | 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_asyn... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width