aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/benchmark/scenarios/availability
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-06-30 09:22:00 +0000
committerJingLu5 <lvjing5@huawei.com>2017-08-26 01:00:41 +0000
commit90c92384f06f2c85e76155efc3efed41db6edfa7 (patch)
treee24f1d3bde9778399cf7f003095431ab9c738e8d /tests/unit/benchmark/scenarios/availability
parenta01f3f0d97778d4ec768d70ab531a420ae5a66a6 (diff)
Raise Exception if HA test case failed
Change-Id: Ia3677724075c1c1408f50bbfcebd3cbcde251d66 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'tests/unit/benchmark/scenarios/availability')
-rw-r--r--tests/unit/benchmark/scenarios/availability/test_scenario_general.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/benchmark/scenarios/availability/test_scenario_general.py b/tests/unit/benchmark/scenarios/availability/test_scenario_general.py
index de2170b16..244a5e798 100644
--- a/tests/unit/benchmark/scenarios/availability/test_scenario_general.py
+++ b/tests/unit/benchmark/scenarios/availability/test_scenario_general.py
@@ -67,4 +67,5 @@ class ScenarioGeneralTestCase(unittest.TestCase):
ins.director = mock_obj
ins.director.data = {}
ins.run({})
+ ins.pass_flag = True
ins.teardown()