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/plugins
Bob Weinand f200487414
Fix filedescriptor out of range in select() when running commands (#65058)
* 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>
5 years ago
..
action Migrated to ansible.windows 5 years ago
become Migrated to community.general 5 years ago
cache Migrated to community.general 5 years ago
callback Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
connection Fix filedescriptor out of range in select() when running commands (#65058) 5 years ago
filter Migrated to ansible.netcommon 5 years ago
inventory Migrated to openstack.cloud 5 years ago
loader_fixtures Don't cache duplicate plugin names (#34420) 7 years ago
lookup Migrated to ansible.amazon 5 years ago
shell windows - fix up env var quoting for unicode single quotes (#68968) 5 years ago
strategy Clean up unit tests to assist with migration. (#67875) 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_plugins.py Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago