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
James Cammarata 43d1ea0cfc Track notified handlers by object rather than simply their name
Due to the fact that roles may be instantiated with different sets of
params (multiple inclusions of the same role or via role dependencies),
simply tracking notified handlers by name does not work. This patch
changes the way we track handler notifications by using the handler
object itself instead of just the name, allowing for multiple internal
instances. Normally this would be bad, but we also modify the way we
search for handlers by first looking at the notifying tasks dependency
chain (ensuring that roles find their own handlers first) and then at
the main list of handlers, using the first match it finds.

This patch also modifies the way we setup the internal list of handlers,
which should allow us to correctly identify if a notified handler exists
more easily.

Fixes #15084
9 years ago
..
action raw should not use default executable (#16085) 9 years ago
cache Fixed import typo for memcache module in tests. 9 years ago
callback Squashed commit of the following: 9 years ago
connections Fix ssh connection unittests for python3.4 9 years ago
filter Reorganizing plugin unit tests and adding start of strategy tests (v2) 10 years ago
inventory Reorganizing plugin unit tests and adding start of strategy tests (v2) 10 years ago
lookup Fix problem with "=" in the initial file path. 9 years ago
shell Reorganizing plugin unit tests and adding start of strategy tests (v2) 10 years ago
strategies Track notified handlers by object rather than simply their name 9 years ago
vars Reorganizing plugin unit tests and adding start of strategy tests (v2) 10 years ago
__init__.py Making the switch to v2 10 years ago
test_plugins.py Fix ziploader for the cornercase of ansible invoking ansible. 9 years ago