• Victor Stinner's avatar
    bpo-33353: test_asyncio uses smaller sendfile data (#7083) · 2932755c
    Victor Stinner yazdı
    bpo-32622, bpo-33353: sendfile() tests of test_asyncio use socket
    buffers of 1 kB "to test on relative small data sets". Send only
    160 KiB rather 10 MB to make the test much faster.
    
    Shrink also SendfileBase.DATA from 1600 KiB to 160 KiB.
    
    On Linux, 3 test_sock_sendfile_mix_with_regular_send() runs now take
    less than 1 second, instead of 18 seconds.
    
    On FreeBSD, the 3 tests didn't hang, but took 3 minutes. Now
    the 3 tests pass in less than 1 seconds.
    2932755c
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
__main__.py Loading commit data...
echo.py Loading commit data...
echo2.py Loading commit data...
echo3.py Loading commit data...
functional.py Loading commit data...
keycert3.pem Loading commit data...
pycacert.pem Loading commit data...
ssl_cert.pem Loading commit data...
ssl_key.pem Loading commit data...
test_base_events.py Loading commit data...
test_buffered_proto.py Loading commit data...
test_context.py Loading commit data...
test_events.py Loading commit data...
test_futures.py Loading commit data...
test_locks.py Loading commit data...
test_pep492.py Loading commit data...
test_proactor_events.py Loading commit data...
test_queues.py Loading commit data...
test_runners.py Loading commit data...
test_selector_events.py Loading commit data...
test_server.py Loading commit data...
test_sslproto.py Loading commit data...
test_streams.py Loading commit data...
test_subprocess.py Loading commit data...
test_tasks.py Loading commit data...
test_transports.py Loading commit data...
test_unix_events.py Loading commit data...
test_windows_events.py Loading commit data...
test_windows_utils.py Loading commit data...
utils.py Loading commit data...