Bugfix: HA kill process recovery has a conflict 49/59049/1
authorrexlee8776 <limingjiang@huawei.com>
Tue, 19 Jun 2018 10:40:20 +0000 (10:40 +0000)
committerEmma Foley <emma.l.foley@intel.com>
Tue, 26 Jun 2018 15:38:19 +0000 (16:38 +0100)
commitc9a9dcae22045cb0392f8445d9d4e00753f934b5
tree7e2a6b89f64ea0425a3aec0ca354cd8896f54de8
parent18657d0ffc9cbc46a17f1a15cc8e884b1124ebbc
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>
(cherry picked from commit 736f3fa5d52345d6fe5174b83de043f779fa0600)
yardstick/benchmark/scenarios/availability/serviceha.py
yardstick/tests/unit/benchmark/scenarios/availability/test_serviceha.py