When running "test_create_manage_and_write" test with
default share type (i.e. set default_share_type_name
= default in tempest.conf) it passed, however, when
there is no default share type it failed with
"Target share type is still in use."
This is because the failed managed share is not deleted
before the share type it is based on.
This patch makes sure the manila share is deleted before
its share type.
Reviewed: https:/ /review. opendev. org/705917 /git.openstack. org/cgit/ openstack/ manila- tempest- plugin/ commit/ ?id=820064b6d7c 4a39a39400c11a3 c138d6bf4d9074
Committed: https:/
Submitter: Zuul
Branch: master
commit 820064b6d7c4a39 a39400c11a3c138 d6bf4d9074
Author: lkuchlan <email address hidden>
Date: Wed Feb 5 12:07:52 2020 +0200
Fix resources cleanup
When running "test_create_ manage_ and_write" test with share_type_ name
default share type (i.e. set default_
= default in tempest.conf) it passed, however, when
there is no default share type it failed with
"Target share type is still in use."
This is because the failed managed share is not deleted
before the share type it is based on.
This patch makes sure the manila share is deleted before
its share type.
Change-Id: I1ba4ae3dcc274b f5e6dee5320e521 17f440ebb5d
Related-bug: #1862001