Move api_check and connection check to healthcheck category
authorMorgan Richomme <morgan.richomme@orange.com>
Thu, 2 Feb 2017 15:58:43 +0000 (16:58 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Fri, 3 Feb 2017 07:05:41 +0000 (08:05 +0100)
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 <morgan.richomme@orange.com>
docs/devguide/index.rst
docs/userguide/index.rst
docs/userguide/runfunctest.rst
functest/ci/testcases.yaml

index 6624f8a..21af912 100644 (file)
@@ -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
index bc02776..7e821a8 100644 (file)
@@ -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
index ef10171..ecf3a20 100644 (file)
@@ -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
index 0fffb90..032202e 100755 (executable)
@@ -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