Merge pull request #201 from openstack-charmers/verify-tls

radosgw: Adjust exceptions selected for retry
This commit is contained in:
Alex Kavanagh
2020-03-24 12:23:14 +00:00
committed by GitHub

View File

@@ -597,8 +597,7 @@ class CephRGWTest(test_utils.OpenStackBaseTest):
# catalog. Retry the test in this circumstance.
@tenacity.retry(wait=tenacity.wait_exponential(multiplier=10, max=300),
reraise=True, stop=tenacity.stop_after_attempt(10),
retry=tenacity.retry_if_exception_type(
ConnectionRefusedError))
retry=tenacity.retry_if_exception_type(IOError))
def test_object_storage(self):
"""Verify object storage API.