This is an automated email from the ASF dual-hosted git repository.
amoghj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 1775727692 AWS: Update S3FileIO test to run when CLIENT_FACTORY is not
set (#9541)
1775727692 is described below
commit 17757276928e87e78314b6c19c8b3ebad9612619
Author: Alok Thatikunta <[email protected]>
AuthorDate: Fri Jan 26 00:15:57 2024 +0530
AWS: Update S3FileIO test to run when CLIENT_FACTORY is not set (#9541)
---
.../java/org/apache/iceberg/aws/s3/TestS3FileIOIntegration.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git
a/aws/src/integration/java/org/apache/iceberg/aws/s3/TestS3FileIOIntegration.java
b/aws/src/integration/java/org/apache/iceberg/aws/s3/TestS3FileIOIntegration.java
index d244f5f374..389e5c82e3 100644
---
a/aws/src/integration/java/org/apache/iceberg/aws/s3/TestS3FileIOIntegration.java
+++
b/aws/src/integration/java/org/apache/iceberg/aws/s3/TestS3FileIOIntegration.java
@@ -161,11 +161,7 @@ public class TestS3FileIOIntegration {
PutObjectRequest.builder().bucket(bucketName).key(objectKey).build(),
RequestBody.fromBytes(contentBytes));
S3FileIO s3FileIO = new S3FileIO();
- Map<String, String> properties = Maps.newHashMap();
- properties.put(
- S3FileIOProperties.CLIENT_FACTORY,
- "org.apache.iceberg.aws.s3.DefaultS3FileIOAwsClientFactory");
- s3FileIO.initialize(properties);
+ s3FileIO.initialize(Maps.newHashMap());
validateRead(s3FileIO);
}