ansible/test
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
..
ansible_test
integration Fix listing of colleciton plugins with symlinks (#69305) 2020-05-14 11:45:02 -04:00
lib/ansible_test Flatten the directory hierarchy of modules (#68966) 2020-05-13 19:14:53 -07:00
sanity Fix filedescriptor out of range in select() when running commands (#65058) 2020-05-14 11:46:34 -04:00
support Remove left hand side slicing 2020-05-06 09:56:40 -07:00
units Fix filedescriptor out of range in select() when running commands (#65058) 2020-05-14 11:46:34 -04:00
utils/shippable Testing: Add support for CentOS Linux On Power platform (#68130) 2020-04-15 16:22:17 -07:00