Use a consistent RLIMIT_NOFILE for ansible-test.

This commit is contained in:
Matt Clay 2019-02-18 13:28:25 -08:00
parent d99728d9e6
commit e8a31a12be
5 changed files with 38 additions and 12 deletions

View file

@ -41,6 +41,11 @@ except ImportError:
DOCKER_COMPLETION = {}
COVERAGE_PATHS = {} # type: dict[str, str]
try:
MAXFD = subprocess.MAXFD
except AttributeError:
MAXFD = -1
def get_docker_completion():
"""