gh-95573: Reduce test data size in test_asyncio/test_ssl.py (GH-95668)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
Fantix King 2022-08-05 04:45:36 -04:00 committed by GitHub
parent a525f2ada4
commit 3a9e1fda7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 7 deletions

View file

@ -0,0 +1,6 @@
:source:`Lib/test/test_asyncio/test_ssl.py` exposed a bug in the macOS
kernel where intense concurrent load on non-blocking sockets occasionally
causes :const:`errno.ENOBUFS` ("No buffer space available") to be emitted.
FB11063974 filed with Apple, in the mean time as a workaround buffer size
used in tests on macOS is decreased to avoid intermittent failures. Patch
by Fantix King.