From 0895540ce84a200d692bf8c4e879d69a0eb40234 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Thu, 2 Feb 2017 16:58:43 +0100 Subject: Move api_check and connection check to healthcheck category They used to be on smoke but seems to be supported now by all the installers more relevant to put these tests in this tier JIRA: FUNCTEST-568 Change-Id: Id0c60c0b90daed81dc0d230108e2275c868c208c Signed-off-by: Morgan Richomme --- docs/devguide/index.rst | 4 +-- docs/userguide/index.rst | 4 +-- docs/userguide/runfunctest.rst | 4 +-- functest/ci/testcases.yaml | 69 +++++++++++++++++++++--------------------- 4 files changed, 40 insertions(+), 41 deletions(-) diff --git a/docs/devguide/index.rst b/docs/devguide/index.rst index 6624f8a7..21af912b 100644 --- a/docs/devguide/index.rst +++ b/docs/devguide/index.rst @@ -63,11 +63,11 @@ Functest internal test cases The internal test cases in Danube are: * healthcheck + * connection_check + * api_check * vping_ssh * vping_userdata * odl - * connection_check - * api_check * snaps_smoke * tempest_smoke_serial * rally_sanity diff --git a/docs/userguide/index.rst b/docs/userguide/index.rst index bc02776a..7e821a84 100644 --- a/docs/userguide/index.rst +++ b/docs/userguide/index.rst @@ -236,7 +236,7 @@ SNAPS stands for "SNA/NFV Application development Platform and Stack". This project seeks to develop baseline OpenStack NFV installations. It has been developed by Steven Pisarski and provided an object oriented library to perform functional and performance tests. It has been declined in several test suites in -Functest. +Functest, 2 are part of healthcheck tier, one belongs to smoke tier. connection check ^^^^^^^^^^^^^^^^ @@ -251,7 +251,7 @@ snaps.use_keystone is True, functest must have access to the cloud's private network. This suite consists in 49 tests (test duration< 2 minutes) -Snaps_smoke +snaps_smoke ^^^^^^^^^^^ This test case contains tests that setup and destroy environments with VMs with and without Floating IPs with a newly created user and project. Set the config diff --git a/docs/userguide/runfunctest.rst b/docs/userguide/runfunctest.rst index ef101710..ecf3a209 100644 --- a/docs/userguide/runfunctest.rst +++ b/docs/userguide/runfunctest.rst @@ -62,10 +62,10 @@ command:: root@22e436918db0:~/repos/functest/ci# functest testcase list healthcheck + api_check + connection_check vping_ssh vping_userdata - connection_check - api_check snaps_smoke tempest_smoke_serial rally_sanity diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml index 0fffb901..032202e5 100755 --- a/functest/ci/testcases.yaml +++ b/functest/ci/testcases.yaml @@ -18,7 +18,41 @@ tiers: dependencies: installer: '' scenario: '^((?!lxd).)*$' + - + name: connection_check + criteria: 'status == "PASS"' + blocking: true + description: >- + This test case verifies the retrieval of OpenStack clients: + Keystone, Glance, Neutron and Nova and may perform some + simple queries. When the config value of + snaps.use_keystone is True, functest must have access to + the cloud's private network. + dependencies: + installer: '^((?!netvirt).)*$' + scenario: '' + run: + module: 'functest.opnfv_tests.openstack.snaps.connection_check' + class: 'ConnectionCheck' + + - + name: api_check + criteria: 'status == "PASS"' + blocking: true + description: >- + This test case verifies the retrieval of OpenStack clients: + Keystone, Glance, Neutron and Nova and may perform some + simple queries. When the config value of + snaps.use_keystone is True, functest must have access to + the cloud's private network. + + dependencies: + installer: '^((?!netvirt).)*$' + scenario: '' + run: + module: 'functest.opnfv_tests.openstack.snaps.api_check' + class: 'ApiCheck' - name: smoke order: 1 @@ -112,41 +146,6 @@ tiers: installer: '' scenario: 'onos' - - - name: connection_check - criteria: 'status == "PASS"' - blocking: false - description: >- - This test case verifies the retrieval of OpenStack clients: - Keystone, Glance, Neutron and Nova and may perform some - simple queries. When the config value of - snaps.use_keystone is True, functest must have access to - the cloud's private network. - - dependencies: - installer: '^((?!netvirt).)*$' - scenario: '' - run: - module: 'functest.opnfv_tests.openstack.snaps.connection_check' - class: 'ConnectionCheck' - - - - name: api_check - criteria: 'status == "PASS"' - blocking: false - description: >- - This test case verifies the retrieval of OpenStack clients: - Keystone, Glance, Neutron and Nova and may perform some - simple queries. When the config value of - snaps.use_keystone is True, functest must have access to - the cloud's private network. - - dependencies: - installer: '^((?!netvirt).)*$' - scenario: '' - run: - module: 'functest.opnfv_tests.openstack.snaps.api_check' - class: 'ApiCheck' - name: snaps_smoke -- cgit 1.2.3-korg