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 44d7c1e23e [stable-2.7] 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)

Co-authored-by: Sam Doran <sdoran@redhat.com>
Signed-off-by: Sam Doran <sdoran@redhat.com>
6 years ago
..
cli Fix unit tests which modify the source tree. (#45763) 6 years ago
config Fix another corner case of too many warnings for world readable current working directory 6 years ago
contrib
errors
executor Fix unittests for always adding basic to the AnsiBallZ zips 6 years ago
inventory_test_data/group_vars
mock AnsiballZ improvements 6 years ago
module_utils set ansible_os_family from name variable in os-release for clearlinux… (#49906) 6 years ago
modules [stable-2.7] FTD HTTP Api plugin bug fixes (#47747) (#48982) 6 years ago
parsing [stable-2.7] Support nested JSON decoding in AnsibleJSONDecoder (#45924) 6 years ago
playbook [stable-2.7] Do not use mutable defaults in FieldAttribute, instead allow supplying a callable for defaults of mutable types. Fixes #46824 (#46833). 6 years ago
plugins [stable-2.7] Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 6 years ago
template templar: ensure that exceptions are handled, fix 'AttributeError' (#48792) 6 years ago
utils [aws unit test utils] only create a recordings directory when the env var is set (#45752) 6 years ago
vars Don't use copy.deepcopy in high workload areas, use naive_deepcopy (#44337) 6 years ago
__init__.py
ansible.cfg
conftest.py Run unit tests in parallel. (#45812) 6 years ago
test_constants.py