Make tempest cleanup resources after running 17/32717/1
authorLinda Wang <wangwulin@huawei.com>
Thu, 30 Mar 2017 08:14:16 +0000 (08:14 +0000)
committerJose Lausuch <jose.lausuch@ericsson.com>
Fri, 31 Mar 2017 07:27:47 +0000 (07:27 +0000)
JIRA: FUNCTEST-773

1. When running refstack_defcore, create tenant and user failed due to conflict
   with those created when runnning tempest_smoke_serial.
2. Clean all resources created for tempest_smoke_serial.

Change-Id: Icf8ec95f6db0b2f93bf6c56ec10a6e8ea1a91ab1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit f94a1744e7a4d3a48466b6171a205e1ed84026d7)

functest/ci/testcases.yaml

index ba5c99d..af7aab6 100755 (executable)
@@ -102,7 +102,7 @@ tiers:
                 name: tempest_smoke_serial
                 criteria: 'success_rate == 100%'
                 blocking: false
-                clean_flag: false
+                clean_flag: true
                 description: >-
                     This test case runs the smoke subset of the OpenStack
                     Tempest suite. The list of test cases is generated by
@@ -134,7 +134,7 @@ tiers:
                 name: refstack_defcore
                 criteria: 'success_rate == 100%'
                 blocking: false
-                clean_flag: false
+                clean_flag: true
                 description: >-
                     This test case runs a sub group of tests of the OpenStack
                     Defcore testcases by using refstack client.
@@ -412,7 +412,7 @@ tiers:
                 name: tempest_full_parallel
                 criteria: 'success_rate >= 80%'
                 blocking: false
-                clean_flag: false
+                clean_flag: true
                 description: >-
                     The list of test cases is generated by
                     Tempest automatically and depends on the parameters of
@@ -427,7 +427,7 @@ tiers:
                 name: tempest_custom
                 criteria: 'success_rate == 100%'
                 blocking: false
-                clean_flag: false
+                clean_flag: true
                 description: >-
                     The test case allows running a customized list of tempest
                     test cases defined in a file under