Skip to content

Commit

Permalink
AWS: Update S3FileIO test to run when CLIENT_FACTORY is not set (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
alok123t authored and devangjhabakh committed Apr 22, 2024
1 parent 1ba657b commit 78ada1d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,7 @@ public void testS3FileIOWithDefaultAwsClientFactoryImpl() throws Exception {
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);
}

Expand Down

0 comments on commit 78ada1d

Please sign in to comment.