Bugfix: Abnormally stopped background scenario causes test data lost 85/36885/2
authorJingLu5 <lvjing5@huawei.com>
Tue, 4 Jul 2017 05:59:52 +0000 (05:59 +0000)
committerJingLu5 <lvjing5@huawei.com>
Tue, 4 Jul 2017 06:04:03 +0000 (06:04 +0000)
Change-Id: I19b8d1c1c6becf4335537d585046cbd59cab5935
Signed-off-by: JingLu5 <lvjing5@huawei.com>
yardstick/benchmark/core/task.py

index d1a4d75..af5b705 100644 (file)
@@ -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):