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/plugins/connection
Toshio Kuratomi 3edac559d3 the smart transport is broken by ssh retry code
1fe67f9 introduced retries to the ssh connection put file and fetch
file.  Unfortunately, that change broke the smart transport because it
started raising exceptions instead of returning from _run().  This
breakage is documented in #23711.

An attempt to fix it was made at #23717 but the first attempt was
objected to as needing to touch too much code.  The second attmept was
objected to as smart was forced to encapsulate retries (thus retrying
a sftp "rety" times before trying scp "retry" times and then finally
moving onto piped).  This third attempt has retries encapsulate smart.
So each sub-transport is tried once and if all three fail, another retry
attempt is made which tries each of the three again.

Fixes #23711
Fixes #23717
2017-08-14 08:08:00 -07:00
..
__init__.py Fix unit test dirs to match code under test. 2016-11-10 18:59:07 -08:00
test_connection.py Disable abstract-class-instantiated for smoketests 2017-07-25 15:58:23 -07:00
test_netconf.py Add support for netconf network discovery (#25435) 2017-06-28 11:07:38 +05:30
test_network_cli.py Add support for cliconf and netconf plugin (#25093) 2017-06-06 13:56:25 +05:30
test_ssh.py the smart transport is broken by ssh retry code 2017-08-14 08:08:00 -07:00