commit d2b9651cb82910b2b86b0f94af1721f717e74024
Author: Matt Riedemann <email address hidden>
Date: Mon Oct 13 10:18:16 2014 -0700
Make rest_client.wait_for_resource_deletion timeout error more specific
Currently the timeout error message just says 'Failed to delete resource
within the required time' and includes the test class/test case, but
when we're seeing all volume-related tests racing with a delete hang, we
can't fingerprint an elastic-recheck query on the various test
class/test case names, and there aren't errors in the cinder logs.
The best thing we have to fingerprint is the timeout message, but we
need it to be more specific to the type of resource rather than any
resource type that might have timed out during a delete operation.
This is similar to the is_resource_deleted method in the various rest
clients in that the concrete implementations of the base class return
their specific type so we can use that in the timeout message.
Reviewed: https:/ /review. openstack. org/128020 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=d2b9651cb82 910b2b86b0f94af 1721f717e74024
Committed: https:/
Submitter: Jenkins
Branch: master
commit d2b9651cb82910b 2b86b0f94af1721 f717e74024
Author: Matt Riedemann <email address hidden>
Date: Mon Oct 13 10:18:16 2014 -0700
Make rest_client. wait_for_ resource_ deletion timeout error more specific
Currently the timeout error message just says 'Failed to delete resource
within the required time' and includes the test class/test case, but
when we're seeing all volume-related tests racing with a delete hang, we
can't fingerprint an elastic-recheck query on the various test
class/test case names, and there aren't errors in the cinder logs.
The best thing we have to fingerprint is the timeout message, but we
need it to be more specific to the type of resource rather than any
resource type that might have timed out during a delete operation.
This is similar to the is_resource_deleted method in the various rest
clients in that the concrete implementations of the base class return
their specific type so we can use that in the timeout message.
Closes-Bug: #1380712
Change-Id: I36b49c59daa952 19c4377d1e207ea 4a0c8cf8782