Get HA test case results on failure 97/57797/2
authorMiikka Koistinen <miikka.koistinen@nokia.com>
Mon, 9 Apr 2018 14:40:39 +0000 (17:40 +0300)
committerRoss Brattain <ross.b.brattain@intel.com>
Thu, 24 May 2018 00:38:30 +0000 (17:38 -0700)
commit83e97cb521a39aca9225713df17dbbdc0e7fb7e3
treee6b40ed042ac10515684297328e7785d4a06774b
parent256fc55e7fabfc70a445d2be8fd879fbfe218eb2
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.

fix missing variable k
s/envrioment/environment

JIRA: YARDSTICK-1115

Change-Id: I648a8b229600c0ad089320ac3f803698f73aa800
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
(cherry picked from commit dd87e15c9c4f0aff3577c1bcd68bd86dd2d64898)
Signed-off-by: Ross Brattain <ross.b.brattain@intel.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