The shares client in tempest currently catches if a share is in 'error_deleting'
state and throws a ResourceReleaseFailed exception so the tests don't have
to wait for the timeout.
However, more resources than just shares can go into error_deleting state,
snapshots for example. This patch changes the check for error_deleting to
work with all resource types.
The shares client in tempest currently catches if a share is in 'error_deleting' Failed exception so the tests don't have
state and throws a ResourceRelease
to wait for the timeout.
However, more resources than just shares can go into error_deleting state,
snapshots for example. This patch changes the check for error_deleting to
work with all resource types.