Bugfix: HA kill process recovery has a conflict 13/58713/4
authorrexlee8776 <limingjiang@huawei.com>
Tue, 19 Jun 2018 10:40:20 +0000 (10:40 +0000)
committerrexlee8776 <limingjiang@huawei.com>
Tue, 26 Jun 2018 01:45:46 +0000 (01:45 +0000)
commit736f3fa5d52345d6fe5174b83de043f779fa0600
treeaec893f1b9d5d94f7dae693f6bae36f5e8a3d4cc
parent172d932bccf58e1fb56872fffee698a9e36ddb83
Bugfix: HA kill process recovery has a conflict

It happens in Nokia SUT when running in the Plugfest. The problem happens when
the start_process start to recover the killed process (like nova-api), but the
self-cured mechanism already recovered. And somehow it lead to a conflict and
has problems.
So the recover of the HA attack-recover should be improved to only recover it
when it needs to.

JIRA: YARDSTICK-1222

Change-Id: I1acb5a7d59d6fe4e0de0b0c5942fa89e051dd1ff
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
yardstick/benchmark/scenarios/availability/serviceha.py
yardstick/tests/unit/benchmark/scenarios/availability/test_serviceha.py