diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-05-24 00:56:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-24 00:56:00 +0200 |
commit | 2932755cc11fd82b4908d60b24b837aa4f3028e6 (patch) | |
tree | f76adca7ff648136ffb90a2ae4477b5c13649f54 /Lib/test/test_argparse.py | |
parent | 529525fb5a8fd9b96ab4021311a598c77588b918 (diff) | |
download | cpython-git-2932755cc11fd82b4908d60b24b837aa4f3028e6.tar.gz |
bpo-33353: test_asyncio uses smaller sendfile data (#7083)
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.
Diffstat (limited to 'Lib/test/test_argparse.py')
0 files changed, 0 insertions, 0 deletions