diff options
author | Gregory P. Smith <greg@krypto.org> | 2013-03-20 06:25:16 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2013-03-20 06:25:16 (GMT) |
commit | 91110f5e5523b578cb74bf81473eb858f86e5338 (patch) | |
tree | b6d4a42fc1bc2c173e7d9e0d6f0cb4d827150da6 /Lib/test/support.py | |
parent | 620e875df20f9a62bad11f9e2ac249244be21875 (diff) | |
download | cpython-91110f5e5523b578cb74bf81473eb858f86e5338.zip cpython-91110f5e5523b578cb74bf81473eb858f86e5338.tar.gz cpython-91110f5e5523b578cb74bf81473eb858f86e5338.tar.bz2 |
Use a larger amount of data for tests such as the interrupted_write
tests that depend on filling up an OS pipe so that they work properly
on systems configured with large pipe buffers.
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 19989ac..f2c3434 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -574,9 +574,9 @@ IPV6_ENABLED = _is_ipv6_enabled() # A constant likely larger than the underlying OS pipe buffer size. -# Windows limit seems to be around 512B, and most Unix kernels have a 64K pipe -# buffer size: take 1M to be sure. -PIPE_MAX_SIZE = 1024 * 1024 +# Windows limit seems to be around 512B, and many Unix kernels have a 64K pipe +# buffer size or 16*PAGE_SIZE: take a few megs to be sure. This +PIPE_MAX_SIZE = 3 * 1000 * 1000 # decorator for skipping tests on non-IEEE 754 platforms |