Bugfix: background scenario can't not update result 81/36881/1
authorchenjiankun <chenjiankun1@huawei.com>
Tue, 4 Jul 2017 03:16:55 +0000 (03:16 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Tue, 4 Jul 2017 03:16:55 +0000 (03:16 +0000)
commit8e2da9dd467f0e0a28bb92097d80d707d579bd4f
tree9b43c9b3c86970e4b59c6b0f7f62d27c8f9b16e1
parent241b693baaec90347d08e63eb1dc167a0033ec21
Bugfix: background scenario can't not update result

JIRA: YARDSTICK-700

In this patch:
https://gerrit.opnfv.org/gerrit/#/c/35257/
In yardstick/benchmark/core/task.py

We update background result only when it be stopped abnormally.
We need move it out of 'if' statement.

Change-Id: I25b76e160273a87da66098565a16e4a143cec11f
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
yardstick/benchmark/core/task.py