summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-07-04 05:59:52 +0000
committerJingLu5 <lvjing5@huawei.com>2017-07-04 06:04:03 +0000
commit2950b1d0f9744ac83a18510792d057c30a2ee67e (patch)
tree246068593426ede5dbda7a5a43f3b97425c90268
parent8e2da9dd467f0e0a28bb92097d80d707d579bd4f (diff)
Bugfix: Abnormally stopped background scenario causes test data lost
Change-Id: I19b8d1c1c6becf4335537d585046cbd59cab5935 Signed-off-by: JingLu5 <lvjing5@huawei.com>
-rw-r--r--yardstick/benchmark/core/task.py4
1 files changed, 0 insertions, 4 deletions
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):