From: JingLu5 Date: Tue, 4 Jul 2017 05:59:52 +0000 (+0000) Subject: Bugfix: Abnormally stopped background scenario causes test data lost X-Git-Tag: opnfv-5.0.RC1~421^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F36885%2F2;hp=8e2da9dd467f0e0a28bb92097d80d707d579bd4f;p=yardstick.git Bugfix: Abnormally stopped background scenario causes test data lost Change-Id: I19b8d1c1c6becf4335537d585046cbd59cab5935 Signed-off-by: JingLu5 --- diff --git a/yardstick/benchmark/core/task.py b/yardstick/benchmark/core/task.py index d1a4d7561..af5b70566 100644 --- a/yardstick/benchmark/core/task.py +++ b/yardstick/benchmark/core/task.py @@ -255,11 +255,7 @@ class Task(object): # pragma: no cover self.outputs.update(runner.get_output()) result.extend(runner.get_result()) - - if status != 0: - raise RuntimeError print("Background task ended") - return result def atexit_handler(self):