aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/tier_builder.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2017-03-01 00:28:55 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2017-03-01 00:44:48 +0100
commit5560a30f425dc2b1fb2d8bb5b4f758326e9e591d (patch)
treeb0f0bb4c484c3376100b86e643d319ea15ab28eb /functest/ci/tier_builder.py
parent9815bea4fc18de05d0e9c5700ffe046ae1ad13fd (diff)
Add clean_flag to test cases
Some test cases such as tempest or those using SNAPS have a built-in cleaup or teardown mechanism. This patch helps to save some time by bypassing the openstack snapshot and cleanup when running those kind of tests cases. Change-Id: I50e7a17937a813532b3756474158416d3e85b922 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'functest/ci/tier_builder.py')
-rwxr-xr-xfunctest/ci/tier_builder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/ci/tier_builder.py b/functest/ci/tier_builder.py
index dae7c73e8..f4c6f70fd 100755
--- a/functest/ci/tier_builder.py
+++ b/functest/ci/tier_builder.py
@@ -50,6 +50,7 @@ class TierBuilder(object):
dependency=dep,
criteria=dic_testcase['criteria'],
blocking=dic_testcase['blocking'],
+ clean_flag=dic_testcase['clean_flag'],
description=dic_testcase['description'])
if testcase.is_compatible(self.ci_installer, self.ci_scenario):
tier.add_test(testcase)