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/plugins/connection
Sam Doran 9d4c0dc111 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>
6 years ago
..
__init__.py Fix unit test dirs to match code under test. 8 years ago
test_connection.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_netconf.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_network_cli.py Revert "enhance recv calls in network_cli (#47345)" (#47731) 6 years ago
test_psrp.py psrp: Added new Windows connection plugin (#41729) 6 years ago
test_ssh.py Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 6 years ago
test_winrm.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago