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
Martin Krizek 94126e4082
Reduce number of implicit meta tasks (#84007) (#84046)
This greatly reduces run time on large inventories since meta tasks are
executed in the main process sequentially and just executing them is expensive.

This change avoids running the following implicit meta tasks:
  * ``flush_handlers`` on hosts where no handlers are notified
  * ``noop`` for the linear strategy's lockstep, instead hosts that are
    not executing the current task are just not part of the current host loop

A playbook consiting of two simple plays both running on ~6000 hosts
runs in:
devel: 37s
this PR: 1.3s

Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit d6d2251929)
1 month ago
..
_vendor Improve unit test code coverage (#80683) 2 years ago
ansible_test Improve code coverage of unit tests (#80904) 2 years ago
cli ansible-galaxy - fix traceback error for invalid req file (#81917) (#81924) 1 year ago
compat Clean up unused imports in unit tests (#79893) 2 years ago
config Add test for 256-color configuration values (#78613) 1 year ago
errors Clean up unit tests. (#78498) 2 years ago
executor Reduce number of implicit meta tasks (#84007) (#84046) 1 month ago
galaxy ansible-galaxy - fix exit code for failed role import (#82193) (#82412) 11 months ago
inventory Fix pointless statements in unit tests (#79940) 2 years ago
inventory_test_data/group_vars
mock More unit test code coverage improvements (#81136) 1 year ago
module_utils Add unit tests for module_utils.compat.datetime (#81483) 1 year ago
modules iptables chain creation does not populate with a rule (#80257) 1 year ago
parsing Ensure that unsafe is more difficult to lose [stable-2.16] (#82293) 1 year ago
playbook Fix task.resolved_action callbacks (#82003) (#83330) 6 months ago
plugins Reduce number of implicit meta tasks (#84007) (#84046) 1 month ago
regex
template Clean up unused imports in unit tests (#79893) 2 years ago
utils [stable-2.16] Fix Test failure with cowsay installed/present (#83350) 6 months ago
vars More unit test code coverage improvements (#81136) 1 year ago
__init__.py
requirements.txt Remove Python 3.9 support for the controller (#80973) 1 year ago
test_context.py Clean up unit test boilerplate. 5 years ago
test_no_tty.py ansible-test - Fix subprocess management. (#77641) 3 years ago