ansible/test/units/plugins
James Cammarata 8218591fec 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
2016-06-20 09:30:20 -05:00
..
action Fix synchronize+vagrant dest assertions that were incorrect. (#16291) 2016-06-14 19:56:50 -04:00
cache Fixed import typo for memcache module in tests. 2015-12-19 00:08:49 -08:00
callback Squashed commit of the following: 2015-12-29 11:40:18 -05:00
connections lxc connection plugin 2016-05-28 00:15:09 +02:00
filter
inventory
lookup Fix problem with "=" in the initial file path. 2015-09-09 11:14:31 -07:00
shell
strategies Track notified handlers by object rather than simply their name 2016-06-20 09:30:20 -05:00
vars
__init__.py
test_plugins.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00