senlin/senlin/tests/unit/engine
Jacob Estelle bb0be93cf1 Move node replacement candidates to dict in inputs
Node replace iterates through all inputs treating key/value pairs as
UUIDs to nodes. However, when the cluster has policy it injects a key
called last_op into self.inputs in Action.policy_check, treating this as
a pair of UUIDs causes node replace to fail. Therefore we move the nodes
into inputs['candidates'] and only iterate through those.

Change-Id: I14c6c591e3f6cec2c0600a5d9726c7720256d647
2019-05-06 14:25:18 -07:00
..
actions Move node replacement candidates to dict in inputs 2019-05-06 14:25:18 -07:00
notifications Add retry logic to post_lifecycle_hook_message 2018-06-06 17:13:18 -07:00
receivers Removed extra underlines in tests 2018-09-19 22:53:00 +00:00
service Move node replacement candidates to dict in inputs 2019-05-06 14:25:18 -07:00
__init__.py Relocate Senlin unit tests 2015-08-04 06:16:20 -04:00
test_cluster.py Fix Senlin performance issues 2019-02-28 17:27:30 -08:00
test_cluster_policy.py Fix misuse of assertTrue 2019-04-02 16:21:21 +08:00
test_dispatcher.py Remove usage of parameter enforce_type 2017-06-01 10:00:11 +08:00
test_engine_parser.py Add unit tests to engine.parser 2015-12-14 10:34:41 +00:00
test_engine_startstop.py Removed extra underlines in tests 2018-09-19 22:53:00 +00:00
test_environment.py Fix lb and delete policy not support 1.0 version 2018-02-09 18:42:32 +08:00
test_event.py Removed extra underlines in tests 2018-09-19 22:53:00 +00:00
test_health_manager.py Improve Health Manager to avoid duplicate health checks. 2019-02-20 11:54:49 -08:00
test_node.py Add unit test for node.do_recover 2019-04-27 13:46:12 +08:00
test_registry.py Fix lb and delete policy not support 1.0 version 2018-02-09 18:42:32 +08:00
test_scheduler.py Use ThreadGroup.add_timer() API correctly 2018-12-07 09:26:57 +13:00
test_senlin_lock.py Add lock retry logic 2017-11-14 08:16:10 -05:00