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
Toshio Kuratomi 78d153d5a0 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

(cherry picked from commit 3edac559d3)
9 years ago
..
cli add python version info to --version (#22089) 9 years ago
contrib Remove shebangs from unit tests. 9 years ago
errors Legacy pep8 updates for setup.py and tests 9 years ago
executor Legacy pep8 updates for setup.py and tests 9 years ago
inventory Inventory default groups 'all' and 'ungrouped': add tests and documentation (#21728) 9 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Remove shebangs from unit tests. 9 years ago
module_utils Fix UnboundLocalError in basic.py 9 years ago
modules Cherry pick 2.4 eos banner fixes (#26904) 9 years ago
parsing Fix vault reading from stdin (avoid realpath() on non-links) (#23583) 9 years ago
playbook deal with null/none connections 9 years ago
plugins the smart transport is broken by ssh retry code 9 years ago
template keep unsafe .. unsafe (#23742) 9 years ago
utils PEP 8 indent cleanup. (#20800) 9 years ago
vars PEP 8 indent cleanup. (#20800) 9 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
conftest.py Fix bugs in ansible-test units command. (#24044) 9 years ago
test_constants.py Add some unittests for lib/ansible/constants.py 9 years ago