summaryrefslogtreecommitdiffstats
path: root/reporting
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2016-09-13 08:41:56 +0000
committerchenjiankun <chenjiankun1@huawei.com>2016-09-13 08:41:56 +0000
commit88429fb75da926b26e98a13faeccab4608bc559f (patch)
tree2233d7a6ddd01c580a580a3dd7effa33cbb25950 /reporting
parent4f3f6bd997e5bdc528da6c36da59e0d2d464ef83 (diff)
Bugfix: reporting shows more than 4 days result
JIRA: YARDSTICK-346 Change-Id: Ife5334f9c7d6a1546eee6995ce4b1b36d0f2c008 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'reporting')
-rw-r--r--reporting/yardstick/reporting-status.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/reporting/yardstick/reporting-status.py b/reporting/yardstick/reporting-status.py
index d7a4e29..57a9594 100644
--- a/reporting/yardstick/reporting-status.py
+++ b/reporting/yardstick/reporting-status.py
@@ -38,6 +38,8 @@ for version in conf.versions:
if not scenario_results.has_key(k):
scenario_results[k] = []
scenario_results[k] += stable_result[k]
+ for k,v in scenario_results.items():
+ scenario_results[k] = v[0:conf.LASTEST_TESTS]
scenario_result_criteria = {}
# From each scenarios get results list