senlin/senlin/tests/unit/policies
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
..
__init__.py Rename a folder under unit test 2015-08-05 09:08:06 -04:00
test_affinity.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_batch_policy.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_deletion_policy.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_health_policy.py Fix health policy attach/detach action when messaging.MessagingTimeout occurred 2020-09-29 11:00:44 +08:00
test_lb_policy.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_policy.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_region_placement.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_scaling_policy.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00
test_zone_placement.py Use unittest.mock instead of third party mock 2020-04-18 12:00:29 -05:00