diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-01-28 15:13:21 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-01-28 15:14:10 +0100 |
commit | d06809129d3c8c86fd9df79b96620eaf54b0b221 (patch) | |
tree | 097ed6ee168296c39c7191e589353b15554a9353 | |
parent | 62c43ae719bd65d5ce4ea88a8bb0bc7dca0faa59 (diff) |
Clean project/user if snaps tests are skipped
Change-Id: I88a58516a3620cc6b19013313672ad1a80791e70
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c9b7fe1da2432581d30bb166d381ac72fce33e97)
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py index c937ed744..9fc098a53 100644 --- a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py +++ b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py @@ -109,5 +109,6 @@ class SnapsTestRunner(unit.Suite): cloud = shade.OpenStackCloud(cloud_config=cloud_config) if functest_utils.get_nova_version(cloud) > (2, 60): self.is_skipped = True + self.project.clean() except Exception: # pylint: disable=broad-except pass |