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
James Cammarata ca5b361ad8 Reworking iterator logic regarding failed states during always
Previous changes addressed a corner case, which unfortunately introduced
another bug. This patch adds a new flag to the host state (did_rescue) which
is set to true when the rescue portion of a block completes. This flag is
then checked in _check_failed_state() when the fail_state != FAILED_NONE.

This lead to the discovery of another bug - current strategies are not advancing
hosts to ITERATING_COMPLETE after doing a peek at the next task, leaving the
host state in the run_state of the final task. To address this, before gathering
the list of failed hosts in StrategyBase.run(), a final pass through the iterator
for all hosts is done to ensure each host is in its final state. This way, no
strategy derived from StrategyBase has to worry about it and it's handled.

Fixes #17983
8 years ago
..
cli set galaxy unit test server to None (#18298) 8 years ago
contrib skip vmware inventory when missing lib 8 years ago
errors Add empty-init code-smell script. (#18406) 8 years ago
executor Add empty-init code-smell script. (#18406) 8 years ago
inventory Add empty-init code-smell script. (#18406) 8 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Add empty-init code-smell script. (#18406) 8 years ago
module_utils Add empty-init code-smell script. (#18406) 8 years ago
modules Clean up shebangs for various files. 8 years ago
parsing Fix unit test dirs to match code under test. 8 years ago
playbook Fix unit test dirs to match code under test. 8 years ago
plugins Reworking iterator logic regarding failed states during always 8 years ago
template Add empty-init code-smell script. (#18406) 8 years ago
utils FEATURE: adding variable serial batches 8 years ago
vars Add empty-init code-smell script. (#18406) 8 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago