senlin/senlin/tests/unit
wangyu 40830c8834 Fix health policy attach/detach action when messaging.MessagingTimeout occurred
Health policy attach/detach from cluster still successful when send
notification to health manager service with messaging.MessagingTimeout.
This is very bad for the cluster health manager,the following things may happen:
1. When do attach from cluster when messaging.MessagingTimeout occurred,
   Register cluster to health registry will be failed,
   and then the cluster will not do health check, even though
   the policy has attached.
2. When do detach from cluster when messaging.MessagingTimeout occurred,
   Unregister cluster to health registry will be failed,
   and then the cluster will still do health check, even though the policy
   has detached.

Change-Id: Iedf1f0b77e9034ccb81a9073b936875c2259fb10
Closes-Bug: #1897443
2020-09-29 11:00:44 +08:00
..
api Fix Flake F811 for microversioned methods 2020-09-10 20:14:16 +00:00
cmd Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
common Remove six usage 2020-01-13 14:22:55 -08:00
conductor Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
db Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
drivers Pass in correct port id parameter 2020-09-16 00:57:25 +00:00
engine Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
events Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
health_manager Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
objects Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
policies Fix health policy attach/detach action when messaging.MessagingTimeout occurred 2020-09-29 11:00:44 +08:00
profiles Pass in correct port id parameter 2020-09-16 00:57:25 +00:00
__init__.py Remove i18n.enable_lazy() call from senlin.cmd 2018-11-05 12:20:52 -05:00
fakes.py Trivial code cleanups 2018-07-22 01:05:16 -07:00
test_common_constraints.py Fix requirements, update hacking 2020-03-30 10:51:45 +00:00
test_common_context.py Remove tox unit test warnings 2017-12-18 05:05:02 -05:00
test_common_exception.py Remove six usage 2020-01-13 14:22:55 -08:00
test_common_messaging.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_common_policy.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_common_scaleutils.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_common_schema.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_common_utils.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_conf.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_hacking.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_rpc_client.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00