ansible/test/units/executor
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>
2020-05-14 11:46:34 -04:00
..
module_common Fix filedescriptor out of range in select() when running commands (#65058) 2020-05-14 11:46:34 -04:00
__init__.py
test_interpreter_discovery.py Use unicode string for auto interpreter warnings (#53671) 2019-03-12 14:16:49 +10:00
test_play_iterator.py Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
test_playbook_executor.py Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
test_task_executor.py Try to load action plugin from the same collection as the module (#66701) 2020-01-31 12:49:37 -05:00
test_task_queue_manager_callbacks.py unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
test_task_result.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00