summaryrefslogtreecommitdiffstats
path: root/utils/test
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-12-09 18:25:00 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2015-12-09 18:25:00 +0100
commit519fd07ac62534226e0ce406f98e9fa1d277f54d (patch)
treeb215aaeb213dcadc630ca749b6daf22382c7c937 /utils/test
parentecefe9f1490144b0d8ebc982acb472fa9ec4e774 (diff)
Add status virtual case for Functest dashboard
use static value to start, KPI shall be processed according to real results.. JIRA: FUNCTEST-111 Change-Id: I3aa43be36815b99e3a92923e6df3154d83c09b19 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test')
-rw-r--r--utils/test/result_collection_api/dashboard/functest2Dashboard.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/test/result_collection_api/dashboard/functest2Dashboard.py b/utils/test/result_collection_api/dashboard/functest2Dashboard.py
index bfb7c8729..3e7eefe7e 100644
--- a/utils/test/result_collection_api/dashboard/functest2Dashboard.py
+++ b/utils/test/result_collection_api/dashboard/functest2Dashboard.py
@@ -63,10 +63,10 @@ def format_status_for_dashboard(results):
# TODO to be done and discussed
testcases = get_functest_cases()
test_data.append({'nb test suite(s) run': len(testcases)-1})
- # test_data.append({'nb test suite(s) failed':1})
- # test_data.append({'test suite run': ['vPing', 'tempest', 'vIMS' ]})
- # test_data.append({'average Openstack Tempest failure rate (%)': 10})
- # test_data.append({'average odl failure rate (%)': 10})
+ test_data.append({'vPing': '100%'})
+ test_data.append({'VIM status': '82%'})
+ test_data.append({'SDN Controllers': {'odl':'92%', 'onos':'95%', 'opencontrail':'93%'}})
+ test_data.append({'VNF deployment': '95%'})
return test_data