You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/module_utils
Sam Doran a259d79ad6
[stable-2.9] Fix filedescriptor out of range in select() when running commands (#65058) (#69517)
* Fix filedescriptor out of range in select() when running commands

* Simplify the run_command() code

Now that we're using selectors in run_command(), we can simplify some of
the code.

* Use fileobj.read() instead of os.read()
* No longer use get_buffer_size() as we can just slurp all of the data
  instead.

Also use a simpler conditional check of whether the selector map is
empty

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>.
(cherry picked from commit f200487414)

Co-authored-by: Bob Weinand <bobwei9@hotmail.com>

Co-authored-by: Bob Weinand <bobwei9@hotmail.com>
6 years ago
..
acme crypto modules: fix sanity errors (#60046) 6 years ago
aws
basic [stable-2.9] Fix filedescriptor out of range in select() when running commands (#65058) (#69517) 6 years ago
cloud
common [2.9] Prevent Ansible 2.9 to choke on collections using deprecation by date or collection_name for deprecation calls (#69935) 6 years ago
docker docker: fix sanity errors (#60047) 6 years ago
ec2
facts Fix race condition in test_sunos_get_uptime_facts 6 years ago
gcp unit tests: remove unused imports (#59636) 7 years ago
hwc Unit tests: remove unused imports (#59740) 7 years ago
identity/keycloak keycloak: improve testability of authentification (#57611) 6 years ago
json_utils unit tests: remove unused imports (#59636) 7 years ago
net_tools unit tests: remove unused imports (#59636) 7 years ago
network Meraki - Enable API call rate limiting for requests (#54827) 6 years ago
parsing
postgresql Postgres module_utils: add get_connect_params + unit tests (#58067) 7 years ago
remote_management Adding dell ome device_info module (#53438) 7 years ago
urls get_url pass incorrect If-Modified-Since header(#67417) (#67419) 6 years ago
xenserver XenServer: Update docs with recent changes in XenAPI python lib and branding (#63728) (#63815) 6 years ago
__init__.py
conftest.py
test_database.py
test_distribution_version.py Get minor version number for CentOS and Debian (#57814) 7 years ago
test_distro.py Update distro unit test (#55003) 7 years ago
test_hetzner.py Hetzner failover IP: refactoring (#56203) 7 years ago
test_known_hosts.py unit tests: remove unused imports (#59636) 7 years ago
test_kubevirt.py kubevirt: more unit tests (#57739) 7 years ago
test_netapp.py Improved netapp module utility for E-Series. (#59527) 6 years ago
test_text.py
test_utm_utils.py Add optional headers to utm modules (#49856) 7 years ago
test_vmware.py VMware: not ssl.SSLContext if validate_certs false (#57185) 6 years ago