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
Sam Doran 197daf095b Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776)
* Catch SSH authentication errors and don't retry multiple times to prevent account lock out

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Subclass AnsibleAuthenticationFailure from AnsibleConnectionFailure

Use comparison rather than range() because it's much more efficient.

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Add tests

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Make paramiko_ssh connection plugin behave the same way

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Add changelog

Signed-off-by: Sam Doran <sdoran@redhat.com>
(cherry picked from commit 9d4c0dc111)
7 years ago
..
cli Fix unit tests which modify the source tree. (#45763) 7 years ago
config [stable-2.6] Fix another corner case of too many warnings for world readable current working directory 7 years ago
contrib Update vmware_inventory (#26308) 9 years ago
errors test/: PEP8 compliancy (#24803) 9 years ago
executor module_common: handle None value for templar (#36651) 8 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock avoid caching invetnory sources in loader (#38242) 8 years ago
module_utils VMware: Fix module usages in module_utils (#49421) 7 years ago
modules [stable-2.6] Fix unit test issues with pytest >= 4.0.0. 7 years ago
parsing [stable-2.6] Support nested JSON decoding in AnsibleJSONDecoder (#45924) 7 years ago
playbook Fix multiple var files combining (followup to #36357) 8 years ago
plugins Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 7 years ago
template Remove duplicated "instead" word (#38800) 8 years ago
utils [aws unit test utils] only create a recordings directory when the env var is set (#45752) 7 years ago
vars Miscellaneous pylint fixes. 8 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
ansible.cfg Fix ansible-test config management. 8 years ago
conftest.py Run unit tests in parallel. (#45812) 7 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 9 years ago