aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xyardstick/benchmark/runners/arithmetic.py2
-rw-r--r--yardstick/benchmark/runners/sequence.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/benchmark/runners/arithmetic.py b/yardstick/benchmark/runners/arithmetic.py
index b1446e01c..7e516ea1e 100755
--- a/yardstick/benchmark/runners/arithmetic.py
+++ b/yardstick/benchmark/runners/arithmetic.py
@@ -124,7 +124,7 @@ def _worker_process(queue, cls, method_name, scenario_cfg,
sequence += 1
- if errors:
+ if (errors and sla_action is None):
break
benchmark.teardown()
diff --git a/yardstick/benchmark/runners/sequence.py b/yardstick/benchmark/runners/sequence.py
index 47708fc5e..b5fae37ad 100644
--- a/yardstick/benchmark/runners/sequence.py
+++ b/yardstick/benchmark/runners/sequence.py
@@ -96,7 +96,7 @@ def _worker_process(queue, cls, method_name, scenario_cfg,
sequence += 1
- if errors or aborted.is_set():
+ if (errors and sla_action is None) or aborted.is_set():
break
benchmark.teardown()