diff --git a/openstack/tests/functional/shared_file_system/test_share_access_rule.py b/openstack/tests/functional/shared_file_system/test_share_access_rule.py index b242cc52f..4050a3507 100644 --- a/openstack/tests/functional/shared_file_system/test_share_access_rule.py +++ b/openstack/tests/functional/shared_file_system/test_share_access_rule.py @@ -85,6 +85,8 @@ class ShareAccessRuleTest(base.BaseSharedFileSystemTest): lock_deletion=True, lock_visibility=True, ) + self.user_cloud.share.delete_access_rule( access_rule['id'], self.SHARE_ID, unrestrict=True ) + self.user_cloud.shared_file_system.wait_for_delete(access_rule)