cpython/Lib/test/subprocessdata
Miss Islington (bot) d6f356e1ab
[3.14] gh-134954: Hard-cap max file descriptors in subprocess test fd_status (GH-134955) (#134980)
gh-134954: Hard-cap max file descriptors in subprocess test fd_status (GH-134955)

* Hard-cap max file descriptors in subprocess test fd_status

On some systems, `SC_OPEN_MAX` may return a very large value (i.e. 10**30), leading to the subprocess test timing out (or run forever).
Prevent this situation by applying a hard cap on how many file descriptors are checked.

* Fix typo in usage docstring

s/fd_stats/fd_status/
(cherry picked from commit f58873e4b2)

Co-authored-by: Itamar Oren <itamarost@gmail.com>
2025-05-31 14:55:03 +00:00
..
fd_status.py [3.14] gh-134954: Hard-cap max file descriptors in subprocess test fd_status (GH-134955) (#134980) 2025-05-31 14:55:03 +00:00
input_reader.py Issue 10687. When --without-pymalloc is given, $VERSION is the same as 2010-12-13 18:04:23 +00:00
qcat.py issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from 2010-12-13 07:59:39 +00:00
qgrep.py issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from 2010-12-13 07:59:39 +00:00
sigchild_ignore.py