After run manila tempest the share network residue

After run manila tempest with multi-tenancy, there have
manila share network residue. This manila share network
should be deleted in clear resources.

Change-Id: Ifedc595f8c0c754355861f25f1b6af9353d644f8
Closes-Bug:#1754588
(cherry picked from commit 01c7feed86db36d0ea11ec3db75aae15a62baee8)
This commit is contained in:
shuaili.wang 2018-06-04 16:19:42 +08:00
parent 6d1fee1c3c
commit 608a0450b2
1 changed files with 6 additions and 0 deletions

View File

@ -290,6 +290,12 @@ class BaseSharesTest(test.BaseTestCase):
cls.shares_v2_client, cls.networks_client)
cls.shares_client.share_network_id = share_network_id
cls.shares_v2_client.share_network_id = share_network_id
resource = {
"type": "share_network",
"id": share_network_id,
"client": cls.shares_v2_client,
}
cls.class_resources.insert(0, resource)
@classmethod
def resource_setup(cls):