diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/test/dashboard/css/bootstrap.min.css (renamed from utils/test/result_collection_api/tools/dashboard/css/bootstrap.min.css) | 0 | ||||
-rw-r--r-- | utils/test/dashboard/css/opnfv_dashboard_tests.css (renamed from utils/test/result_collection_api/tools/dashboard/css/opnfv_dashboard_tests.css) | 0 | ||||
-rw-r--r-- | utils/test/dashboard/js/bootstrap.min.js (renamed from utils/test/result_collection_api/tools/dashboard/js/bootstrap.min.js) | 0 | ||||
-rw-r--r-- | utils/test/dashboard/js/dygraph-combined.js (renamed from utils/test/result_collection_api/tools/dashboard/js/dygraph-combined.js) | 0 | ||||
-rw-r--r-- | utils/test/dashboard/js/jquery-2.2.0.min.js (renamed from utils/test/result_collection_api/tools/dashboard/js/jquery-2.2.0.min.js) | 0 | ||||
-rw-r--r-- | utils/test/dashboard/js/opnfv_dashboard_tests.js (renamed from utils/test/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests.js) | 0 | ||||
-rw-r--r-- | utils/test/dashboard/js/opnfv_dashboard_tests_conf.js (renamed from utils/test/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests_conf.js) | 0 | ||||
-rw-r--r-- | utils/test/dashboard/opnfv_dashboard_tests.html (renamed from utils/test/result_collection_api/tools/dashboard/opnfv_dashboard_tests.html) | 0 | ||||
-rw-r--r-- | utils/test/reporting/default.css (renamed from utils/test/result_collection_api/tools/reporting/default.css) | 0 | ||||
-rw-r--r-- | utils/test/reporting/index-tempest-tmpl.html (renamed from utils/test/result_collection_api/tools/reporting/index-tempest-tmpl.html) | 0 | ||||
-rw-r--r-- | utils/test/reporting/index-tmpl.html (renamed from utils/test/result_collection_api/tools/reporting/index-tmpl.html) | 0 | ||||
-rw-r--r-- | utils/test/reporting/reporting-tempest.py (renamed from utils/test/result_collection_api/tools/reporting/reporting-tempest.py) | 7 | ||||
-rw-r--r-- | utils/test/reporting/reporting.py (renamed from utils/test/result_collection_api/tools/reporting/reporting.py) | 0 | ||||
-rw-r--r-- | utils/test/result_collection_api/samples/sample.json.postman_collection (renamed from utils/test/result_collection_api/tools/samples/sample.json.postman_collection) | 0 | ||||
-rw-r--r-- | utils/test/scripts/backup-db.sh (renamed from utils/test/result_collection_api/tools/backup-db.sh) | 0 |
15 files changed, 4 insertions, 3 deletions
diff --git a/utils/test/result_collection_api/tools/dashboard/css/bootstrap.min.css b/utils/test/dashboard/css/bootstrap.min.css index 4cf729e43..4cf729e43 100644 --- a/utils/test/result_collection_api/tools/dashboard/css/bootstrap.min.css +++ b/utils/test/dashboard/css/bootstrap.min.css diff --git a/utils/test/result_collection_api/tools/dashboard/css/opnfv_dashboard_tests.css b/utils/test/dashboard/css/opnfv_dashboard_tests.css index 894725bb2..894725bb2 100644 --- a/utils/test/result_collection_api/tools/dashboard/css/opnfv_dashboard_tests.css +++ b/utils/test/dashboard/css/opnfv_dashboard_tests.css diff --git a/utils/test/result_collection_api/tools/dashboard/js/bootstrap.min.js b/utils/test/dashboard/js/bootstrap.min.js index e79c06513..e79c06513 100644 --- a/utils/test/result_collection_api/tools/dashboard/js/bootstrap.min.js +++ b/utils/test/dashboard/js/bootstrap.min.js diff --git a/utils/test/result_collection_api/tools/dashboard/js/dygraph-combined.js b/utils/test/dashboard/js/dygraph-combined.js index 7d6121e1d..7d6121e1d 100644 --- a/utils/test/result_collection_api/tools/dashboard/js/dygraph-combined.js +++ b/utils/test/dashboard/js/dygraph-combined.js diff --git a/utils/test/result_collection_api/tools/dashboard/js/jquery-2.2.0.min.js b/utils/test/dashboard/js/jquery-2.2.0.min.js index 06ac26315..06ac26315 100644 --- a/utils/test/result_collection_api/tools/dashboard/js/jquery-2.2.0.min.js +++ b/utils/test/dashboard/js/jquery-2.2.0.min.js diff --git a/utils/test/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests.js b/utils/test/dashboard/js/opnfv_dashboard_tests.js index e5bcca625..e5bcca625 100644 --- a/utils/test/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests.js +++ b/utils/test/dashboard/js/opnfv_dashboard_tests.js diff --git a/utils/test/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests_conf.js b/utils/test/dashboard/js/opnfv_dashboard_tests_conf.js index 6778332eb..6778332eb 100644 --- a/utils/test/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests_conf.js +++ b/utils/test/dashboard/js/opnfv_dashboard_tests_conf.js diff --git a/utils/test/result_collection_api/tools/dashboard/opnfv_dashboard_tests.html b/utils/test/dashboard/opnfv_dashboard_tests.html index 424b525a3..424b525a3 100644 --- a/utils/test/result_collection_api/tools/dashboard/opnfv_dashboard_tests.html +++ b/utils/test/dashboard/opnfv_dashboard_tests.html diff --git a/utils/test/result_collection_api/tools/reporting/default.css b/utils/test/reporting/default.css index 0e330e965..0e330e965 100644 --- a/utils/test/result_collection_api/tools/reporting/default.css +++ b/utils/test/reporting/default.css diff --git a/utils/test/result_collection_api/tools/reporting/index-tempest-tmpl.html b/utils/test/reporting/index-tempest-tmpl.html index 24d87bee2..24d87bee2 100644 --- a/utils/test/result_collection_api/tools/reporting/index-tempest-tmpl.html +++ b/utils/test/reporting/index-tempest-tmpl.html diff --git a/utils/test/result_collection_api/tools/reporting/index-tmpl.html b/utils/test/reporting/index-tmpl.html index 4d1c50915..4d1c50915 100644 --- a/utils/test/result_collection_api/tools/reporting/index-tmpl.html +++ b/utils/test/reporting/index-tmpl.html diff --git a/utils/test/result_collection_api/tools/reporting/reporting-tempest.py b/utils/test/reporting/reporting-tempest.py index 6d90f863c..944b42809 100644 --- a/utils/test/result_collection_api/tools/reporting/reporting-tempest.py +++ b/utils/test/reporting/reporting-tempest.py @@ -56,14 +56,15 @@ for installer in installers: crit_time = False # Expect that at least 200 tests are run - if nb_tests_run > 200: + if nb_tests_run >= 200: crit_tests = True # Expect that at least 90% of success - if success_rate > 90: + if success_rate >= 90: crit_rate = True - if result['details']['duration'] < 900: + # Expect that the suite duration is inferior to 45m + if result['details']['duration'] < 2700: crit_time = True result['criteria'] = {'tests': crit_tests, diff --git a/utils/test/result_collection_api/tools/reporting/reporting.py b/utils/test/reporting/reporting.py index 246c6250c..246c6250c 100644 --- a/utils/test/result_collection_api/tools/reporting/reporting.py +++ b/utils/test/reporting/reporting.py diff --git a/utils/test/result_collection_api/tools/samples/sample.json.postman_collection b/utils/test/result_collection_api/samples/sample.json.postman_collection index 9ee35d15e..9ee35d15e 100644 --- a/utils/test/result_collection_api/tools/samples/sample.json.postman_collection +++ b/utils/test/result_collection_api/samples/sample.json.postman_collection diff --git a/utils/test/result_collection_api/tools/backup-db.sh b/utils/test/scripts/backup-db.sh index aa36aa370..aa36aa370 100644 --- a/utils/test/result_collection_api/tools/backup-db.sh +++ b/utils/test/scripts/backup-db.sh |