Get HA test case results on failure 47/55247/5
authorMiikka Koistinen <miikka.koistinen@nokia.com>
Mon, 9 Apr 2018 14:40:39 +0000 (17:40 +0300)
committerMiikka Koistinen <miikka.koistinen@nokia.com>
Mon, 16 Apr 2018 09:33:19 +0000 (12:33 +0300)
commitdd87e15c9c4f0aff3577c1bcd68bd86dd2d64898
tree8c1f97d1818b57bb0e3c40d3a4a21e6da93579bf
parentba5986d99f43b2af5f1c6ea399f59c03352b32c0
Get HA test case results on failure

Now, yardstick HA test cases (which have 'sla action: monitor') do
not output results if the test case SLA validation fails.
This patch modifies the task runner and the serviceHA scenario so
that during an SLA validation failure the test result data is
captured correctly.

Do similar changes in the general scenario.

JIRA: YARDSTICK-1115

Change-Id: I648a8b229600c0ad089320ac3f803698f73aa800
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
yardstick/benchmark/core/task.py
yardstick/benchmark/scenarios/availability/scenario_general.py
yardstick/benchmark/scenarios/availability/serviceha.py
yardstick/tests/unit/benchmark/scenarios/availability/test_scenario_general.py
yardstick/tests/unit/benchmark/scenarios/availability/test_serviceha.py