Change the order of HealthCheck tests 97/30197/1
authorMorgan Richomme <morgan.richomme@orange.com>
Thu, 9 Mar 2017 16:20:17 +0000 (17:20 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Thu, 9 Mar 2017 16:20:17 +0000 (17:20 +0100)
currently the snaps healthcheck (dhcp) is tried first
it should be connectivity, api, dhcp

the reporting looks for scenario based on connectivity

testing dhcp first => scenarios ok on connectivy but
failed with DHCP are not considered, which could be
misleading

Change-Id: I0eb34b1f5ba163540281e5ef0dcb12c8cefa88bd
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
functest/ci/testcases.yaml

index bc27f6f..cf765ad 100755 (executable)
@@ -7,22 +7,6 @@ tiers:
             First tier to be executed to verify the basic
             operations in the VIM.
         testcases:
-            -
-                name: snaps_health_check
-                criteria: 'status == "PASS"'
-                blocking: true
-                clean_flag: false
-                description: >-
-                    This test case creates executes the SimpleHealthCheck
-                    Python test class which creates an, image, flavor, network,
-                    and Cirros VM instance and observes the console output to
-                    validate the single port obtains the correct IP address.
-                dependencies:
-                    installer: ''
-                    scenario: '^((?!lxd).)*$'
-                run:
-                    module: 'functest.opnfv_tests.openstack.snaps.health_check'
-                    class: 'HealthCheck'
             -
                 name: connection_check
                 criteria: 'status == "PASS"'
@@ -60,6 +44,22 @@ tiers:
                 run:
                     module: 'functest.opnfv_tests.openstack.snaps.api_check'
                     class: 'ApiCheck'
+            -
+                name: snaps_health_check
+                criteria: 'status == "PASS"'
+                blocking: true
+                clean_flag: false
+                description: >-
+                    This test case creates executes the SimpleHealthCheck
+                    Python test class which creates an, image, flavor, network,
+                    and Cirros VM instance and observes the console output to
+                    validate the single port obtains the correct IP address.
+                dependencies:
+                    installer: ''
+                    scenario: '^((?!lxd).)*$'
+                run:
+                    module: 'functest.opnfv_tests.openstack.snaps.health_check'
+                    class: 'HealthCheck'
     -
         name: smoke
         order: 1