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
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
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
test_task_result.py