From 337eab4eb00aab01f6f5b36523248ac792b99581 Mon Sep 17 00:00:00 2001 From: "cope.li" Date: Fri, 23 Nov 2018 16:34:23 +0800 Subject: Add raise for iteration exception in IterationRunner When we run the testcase, if there was a exception in iteration _work_process, the process will still run on ,and the test result will not affected by the exception. JIRA: YARDSTICK-1555 Change-Id: I03803c0473015379bb0eb20ed7d474a2d923a4e3 Signed-off-by: cope.li --- yardstick/benchmark/runners/iteration.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yardstick/benchmark/runners/iteration.py') diff --git a/yardstick/benchmark/runners/iteration.py b/yardstick/benchmark/runners/iteration.py index 4c88f3671..58ab06a32 100644 --- a/yardstick/benchmark/runners/iteration.py +++ b/yardstick/benchmark/runners/iteration.py @@ -96,6 +96,7 @@ def _worker_process(queue, cls, method_name, scenario_cfg, except Exception: # pylint: disable=broad-except errors = traceback.format_exc() LOG.exception("") + raise else: if result: # add timeout for put so we don't block test -- cgit 1.2.3-korg