summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-02-28 12:54:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-28 12:54:30 +0000
commited52729bcb523647531dd1793e8ac2a49f47af7e (patch)
tree2c4c8047d1db04fd587ce72de1109a7ffe8504e7 /utils/test/reporting
parentc8634c026e749205ffe48421a9fea3bccb4ec9c8 (diff)
parent26263996411201a13a3d82f5a37e57fc996ef58e (diff)
Merge "Move case base from tempest_smoke_serial to snaps_healthcheck"
Diffstat (limited to 'utils/test/reporting')
-rwxr-xr-xutils/test/reporting/functest/reporting-status.py10
-rw-r--r--utils/test/reporting/functest/testCase.py8
-rw-r--r--utils/test/reporting/reporting.yaml2
3 files changed, 11 insertions, 9 deletions
diff --git a/utils/test/reporting/functest/reporting-status.py b/utils/test/reporting/functest/reporting-status.py
index df5632335..69be20eca 100755
--- a/utils/test/reporting/functest/reporting-status.py
+++ b/utils/test/reporting/functest/reporting-status.py
@@ -28,9 +28,9 @@ testValid = []
otherTestCases = []
reportingDate = datetime.datetime.now().strftime("%Y-%m-%d %H:%M")
-# init just tempest to get the list of scenarios
-# as all the scenarios run Tempest
-tempest = tc.TestCase("tempest_smoke_serial", "functest", -1)
+# init just snaps_health_check to get the list of scenarios
+# as all the scenarios run snaps_health_check
+snaps_health_check = tc.TestCase("snaps_health_check", "functest", -1)
# Retrieve the Functest configuration to detect which tests are relevant
# according to the installer, scenario
@@ -92,7 +92,9 @@ for version in versions:
# For all the installers
for installer in installers:
# get scenarios
- scenario_results = rp_utils.getScenarios(tempest, installer, version)
+ scenario_results = rp_utils.getScenarios(snaps_health_check,
+ installer,
+ version)
scenario_stats = rp_utils.getScenarioStats(scenario_results)
items = {}
scenario_result_criteria = {}
diff --git a/utils/test/reporting/functest/testCase.py b/utils/test/reporting/functest/testCase.py
index e2d46048a..f77136e11 100644
--- a/utils/test/reporting/functest/testCase.py
+++ b/utils/test/reporting/functest/testCase.py
@@ -46,8 +46,8 @@ class TestCase(object):
'api_check': 'Health (api)',
'snaps_smoke': 'SNAPS',
'snaps_health_check': 'Health (dhcp)',
- 'gluon_vping': 'Netready',
- 'barometercollectd': 'Barometer'}
+ 'netready': 'Netready',
+ 'barometer': 'Barometer'}
try:
self.displayName = display_name_matrix[self.name]
except:
@@ -145,8 +145,8 @@ class TestCase(object):
'api_check': 'api_check',
'snaps_smoke': 'snaps_smoke',
'snaps_health_check': 'snaps_health_check',
- 'gluon_vping': 'gluon_vping',
- 'barometercollectd': 'barometercollectd'}
+ 'netready': 'gluon_vping',
+ 'barometer': 'barometercollectd'}
try:
return test_match_matrix[self.name]
except:
diff --git a/utils/test/reporting/reporting.yaml b/utils/test/reporting/reporting.yaml
index 9ec7b286c..81e976a28 100644
--- a/utils/test/reporting/reporting.yaml
+++ b/utils/test/reporting/reporting.yaml
@@ -11,7 +11,7 @@ general:
log:
log_file: reporting.log
- log_level: INFO
+ log_level: ERROR
period: 10