1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units
Ganesh Nalawade 335a979f1d
Fix prompt mismatch issue for ios (#47004)
* Fix prompt mismatch issue for ios

Fixes #40884 #44463

*  If the command prompt is matched check if data is
   still pending to be read from buffer.
*  This fix adds a new timer `buffer_read_timeout`
   which will be trigerred after command prompt
   is matched and data is attempted to be read from channel.
   If not data is present of channel the timer will expire
   and response we be returned to calling function.

* Fix unit test failure

* Update to make buffer timeout float

* Update doc and fix review comment

* Fix CI issues

* Update doc

* Fix review comments

* Fix review comments
2018-10-22 21:05:15 +05:30
..
cli Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
contrib Fix vmware_inventory unit tests so they run. 2018-10-09 22:52:04 -07:00
errors Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
executor Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 2015-05-28 15:26:03 -05:00
mock Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
module_utils Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
modules Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
parsing Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
playbook Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
plugins Fix prompt mismatch issue for ios (#47004) 2018-10-22 21:05:15 +05:30
template Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
utils Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
vars Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
conftest.py Run unit tests in parallel. (#45812) 2018-09-18 13:58:22 -07:00
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 2017-06-14 11:08:34 -04:00