Skip to content

Commit 95364c8

Browse files
committed
Splitting Athena and S3 tests.
1 parent 4e35a87 commit 95364c8

File tree

4 files changed

+589
-568
lines changed

4 files changed

+589
-568
lines changed

awswrangler/s3/_delete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def _delete_objects(bucket: str, keys: List[str], client_s3: boto3.client, attem
4242
raise exceptions.ServiceApiError(errors)
4343
internal_errors.append(_unquote_plus(error["Key"]))
4444
if len(internal_errors) > 0:
45-
if attempt > 5: # Maximum of 5 attempts
45+
if attempt > 5: # Maximum of 5 attempts (Total of 15 seconds)
4646
raise exceptions.ServiceApiError(errors)
4747
time.sleep(attempt) # Incremental delay (linear)
4848
_delete_objects(bucket=bucket, keys=internal_errors, client_s3=client_s3, attempt=(attempt + 1))

0 commit comments

Comments
 (0)