Skip to content

Commit

Permalink
Build: Bump com.adobe.testing:s3mock-junit5 from 2.11.0 to 2.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nastra committed Aug 2, 2024
1 parent 9a67f0b commit a67949e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
import software.amazon.awssdk.regions.Region;
import software.amazon.awssdk.services.s3.S3Client;
import software.amazon.awssdk.services.s3.model.BucketAlreadyExistsException;
import software.amazon.awssdk.services.s3.model.BucketAlreadyOwnedByYouException;
import software.amazon.awssdk.services.s3.model.CreateBucketRequest;
import software.amazon.awssdk.services.s3.model.DeleteObjectsRequest;
import software.amazon.awssdk.services.s3.model.DeleteObjectsResponse;
Expand Down Expand Up @@ -447,7 +448,7 @@ private void createRandomObjects(String prefix, int count) {
private void createBucket(String bucketName) {
try {
s3.get().createBucket(CreateBucketRequest.builder().bucket(bucketName).build());
} catch (BucketAlreadyExistsException e) {
} catch (BucketAlreadyExistsException | BucketAlreadyOwnedByYouException e) {
// do nothing
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ orc = "1.9.4"
parquet = "1.13.1"
pig = "0.17.0"
roaringbitmap = "1.2.1"
s3mock-junit5 = "2.11.0"
s3mock-junit5 = "2.17.0"
scala-collection-compat = "2.12.0"
slf4j = "1.7.36"
snowflake-jdbc = "3.18.0"
Expand Down

0 comments on commit a67949e

Please sign in to comment.