aboutsummaryrefslogtreecommitdiffstats
path: root/services/api/api_rados.py
diff options
context:
space:
mode:
Diffstat (limited to 'services/api/api_rados.py')
-rw-r--r--services/api/api_rados.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/api/api_rados.py b/services/api/api_rados.py
index cdad7d4..9a130b1 100644
--- a/services/api/api_rados.py
+++ b/services/api/api_rados.py
@@ -82,7 +82,7 @@ class APIRados:
logger.error("Bucket not found. Retry #%s" % counter+1)
time.sleep(session.wait_until_time_pause_long)
else:
- raise TimeoutError("Max retries exceeded, failing test...")
+ raise Exception("Max retries exceeded, failing test...")
grants = bucket.list_grants()
return grants
@@ -97,7 +97,7 @@ class APIRados:
counter+1, Constants.RGWAConstants.BUCKET_RETRIES_NUMBER))
time.sleep(session.wait_until_time_pause_long)
else:
- raise TimeoutError("Max retries exceeded, failing test...")
+ raise Exception("Max retries exceeded, failing test...")
logger.debug("bucket are ready to continue!")
return True